linux/samples/trace_events
Steven Rostedt (Red Hat) 8cf868affd tracing: Have the reg function allow to fail
Some tracepoints have a registration function that gets enabled when the
tracepoint is enabled. There may be cases that the registraction function
must fail (for example, can't allocate enough memory). In this case, the
tracepoint should also fail to register, otherwise the user would not know
why the tracepoint is not working.

Cc: David Howells <dhowells@redhat.com>
Cc: Seiji Aguchi <seiji.aguchi@hds.com>
Cc: Anton Blanchard <anton@samba.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
2016-12-09 09:13:30 -05:00
..
Makefile tracing: update sample event documentation 2009-06-16 19:53:07 -04:00
trace-events-sample.c tracing: Have the reg function allow to fail 2016-12-09 09:13:30 -05:00
trace-events-sample.h tracing: Have the reg function allow to fail 2016-12-09 09:13:30 -05:00