Skip to content

Commit df3ab70

Browse files
kosakiIngo Molnar
authored andcommitted
kprobetrace, doc: Add the explanation to remove probe points
Latest kprobetrace can remove probe points selectively, thus the documentation should be updated too. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com> Cc: systemtap <systemtap@sources.redhat.com> Cc: DLE <dle-develop@lists.sourceforge.net> LKML-Reference: <20100119023512.31880.35535.stgit@localhost6.localdomain6> Signed-off-by: Ingo Molnar <mingo@elte.hu>
1 parent 580d9e0 commit df3ab70

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎Documentation/trace/kprobetrace.txt‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Synopsis of kprobe_events
2424
-------------------------
2525
p[:[GRP/]EVENT] SYMBOL[+offs]|MEMADDR [FETCHARGS] : Set a probe
2626
r[:[GRP/]EVENT] SYMBOL[+0] [FETCHARGS] : Set a return probe
27+
-:[GRP/]EVENT : Clear a probe
2728

2829
GRP : Group name. If omitted, use "kprobes" for it.
2930
EVENT : Event name. If omitted, the event name is generated
@@ -122,6 +123,12 @@ REC->dfd, REC->filename, REC->flags, REC->mode
122123

123124
This clears all probe points.
124125

126+
Or,
127+
128+
echo -:myprobe >> kprobe_events
129+
130+
This clears probe points selectively.
131+
125132
Right after definition, each event is disabled by default. For tracing these
126133
events, you need to enable it.
127134

0 commit comments

Comments
 (0)