Commit c25a4a09c3fa3d4b058ac612d82ddfd172410fbb
Committed by
Jiri Kosina
1 parent
07f4225889
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
doc: Remove text on tracepoint samples
The tracepoint sample code got removed. Remove a few lines on its usage too. Acked-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Acked-by: Rob Landley <rob@landley.net> Acked-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Showing 1 changed file with 0 additions and 15 deletions Side-by-side Diff
Documentation/trace/tracepoints.txt
... | ... | @@ -81,7 +81,6 @@ |
81 | 81 | the module exit function to make sure there is no caller left using |
82 | 82 | the probe. This, and the fact that preemption is disabled around the |
83 | 83 | probe call, make sure that probe removal and module unload are safe. |
84 | -See the "Probe example" section below for a sample probe module. | |
85 | 84 | |
86 | 85 | The tracepoint mechanism supports inserting multiple instances of the |
87 | 86 | same tracepoint, but a single definition must be made of a given |
... | ... | @@ -100,18 +99,4 @@ |
100 | 99 | If the tracepoint has to be used in kernel modules, an |
101 | 100 | EXPORT_TRACEPOINT_SYMBOL_GPL() or EXPORT_TRACEPOINT_SYMBOL() can be |
102 | 101 | used to export the defined tracepoints. |
103 | - | |
104 | -* Probe / tracepoint example | |
105 | - | |
106 | -See the example provided in samples/tracepoints | |
107 | - | |
108 | -Compile them with your kernel. They are built during 'make' (not | |
109 | -'make modules') when CONFIG_SAMPLE_TRACEPOINTS=m. | |
110 | - | |
111 | -Run, as root : | |
112 | -modprobe tracepoint-sample (insmod order is not important) | |
113 | -modprobe tracepoint-probe-sample | |
114 | -cat /proc/tracepoint-sample (returns an expected error) | |
115 | -rmmod tracepoint-sample tracepoint-probe-sample | |
116 | -dmesg |