tracing: Remove tracepoint sample code
authorSteven Rostedt <srostedt@redhat.com>
Fri, 25 Jan 2013 14:46:36 +0000 (09:46 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Fri, 25 Jan 2013 16:22:11 +0000 (11:22 -0500)
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>
samples/Kconfig
samples/Makefile
samples/tracepoints/Makefile [deleted file]
samples/tracepoints/tp-samples-trace.h [deleted file]
samples/tracepoints/tracepoint-probe-sample.c [deleted file]
samples/tracepoints/tracepoint-probe-sample2.c [deleted file]
samples/tracepoints/tracepoint-sample.c [deleted file]

diff --cc samples/Kconfig
Simple merge
Simple merge
diff --cc samples/tracepoints/Makefile
Simple merge
diff --cc samples/tracepoints/tp-samples-trace.h
Simple merge
diff --cc samples/tracepoints/tracepoint-probe-sample.c
Simple merge
diff --cc samples/tracepoints/tracepoint-probe-sample2.c
Simple merge
diff --cc samples/tracepoints/tracepoint-sample.c
Simple merge