-
- Downloads
tracing: Remove tracepoint sample code
The tracepoint sample code was used to teach developers how to create their own tracepoints. But now the trace_events have been added as a higher level that is used directly by developers today. Only the trace_event code should use the tracepoint interface directly and no new tracepoints should be added. Besides, the example had a race condition with the use of the ->d_name.name dentry field, as pointed out by Al Viro. Best just to remove the code so it wont be used by other developers. Link: http://lkml.kernel.org/r/20130123225523.GY4939@ZenIV.linux.org.uk Cc: Al Viro <viro@ZenIV.linux.org.uk> Acked-by:Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Signed-off-by:
Steven Rostedt <rostedt@goodmis.org>
Showing
- samples/Kconfig 0 additions, 6 deletionssamples/Kconfig
- samples/Makefile 1 addition, 1 deletionsamples/Makefile
- samples/tracepoints/Makefile 0 additions, 6 deletionssamples/tracepoints/Makefile
- samples/tracepoints/tp-samples-trace.h 0 additions, 11 deletionssamples/tracepoints/tp-samples-trace.h
- samples/tracepoints/tracepoint-probe-sample.c 0 additions, 57 deletionssamples/tracepoints/tracepoint-probe-sample.c
- samples/tracepoints/tracepoint-probe-sample2.c 0 additions, 44 deletionssamples/tracepoints/tracepoint-probe-sample2.c
- samples/tracepoints/tracepoint-sample.c 0 additions, 57 deletionssamples/tracepoints/tracepoint-sample.c
Loading
Please register or sign in to comment