diff options
author | Steven Rostedt <srostedt@redhat.com> | 2013-01-25 09:46:36 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2013-01-25 11:22:11 -0500 |
commit | d75f717e19fe595e7efbf67de195ada8d89dfbbe (patch) | |
tree | 26e00856e0595ee4fa5c54fd5c457d62d86c3ff1 /samples/Kconfig | |
parent | b736f48bda54ec75b7dc9306884c3843f1a78a0a (diff) |
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>
Diffstat (limited to 'samples/Kconfig')
-rw-r--r-- | samples/Kconfig | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/samples/Kconfig b/samples/Kconfig index 7b6792a18c05..6181c2cc9ca0 100644 --- a/samples/Kconfig +++ b/samples/Kconfig | |||
@@ -5,12 +5,6 @@ menuconfig SAMPLES | |||
5 | 5 | ||
6 | if SAMPLES | 6 | if SAMPLES |
7 | 7 | ||
8 | config SAMPLE_TRACEPOINTS | ||
9 | tristate "Build tracepoints examples -- loadable modules only" | ||
10 | depends on TRACEPOINTS && m | ||
11 | help | ||
12 | This build tracepoints example modules. | ||
13 | |||
14 | config SAMPLE_TRACE_EVENTS | 8 | config SAMPLE_TRACE_EVENTS |
15 | tristate "Build trace_events examples -- loadable modules only" | 9 | tristate "Build trace_events examples -- loadable modules only" |
16 | depends on EVENT_TRACING && m | 10 | depends on EVENT_TRACING && m |