diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2009-08-13 16:35:42 -0400 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2009-08-26 20:32:39 -0400 |
commit | cd7e7bd5e44718c7625ce1e1f0fda53d77cd3797 (patch) | |
tree | b5575371eda38bd321963daf19918fde52b7d1db /Documentation/trace/kprobetrace.txt | |
parent | ff50d99136c3315513ef3b2921e77f35ab04d081 (diff) |
tracing: Add kprobes event profiling interface
Add profiling interfaces for each kprobes event. This interface provides
how many times each probe hit or missed.
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Avi Kivity <avi@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Frank Ch. Eigler <fche@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jason Baron <jbaron@redhat.com>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: K.Prasad <prasad@linux.vnet.ibm.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: Przemysław Pawełczyk <przemyslaw@pawelczyk.it>
Cc: Roland McGrath <roland@redhat.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Tom Zanussi <tzanussi@gmail.com>
Cc: Vegard Nossum <vegard.nossum@gmail.com>
LKML-Reference: <20090813203541.31965.8452.stgit@localhost.localdomain>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'Documentation/trace/kprobetrace.txt')
-rw-r--r-- | Documentation/trace/kprobetrace.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/trace/kprobetrace.txt b/Documentation/trace/kprobetrace.txt index 5e59e854e71b..3de751747164 100644 --- a/Documentation/trace/kprobetrace.txt +++ b/Documentation/trace/kprobetrace.txt | |||
@@ -70,6 +70,14 @@ filter: | |||
70 | names and field names for describing filters. | 70 | names and field names for describing filters. |
71 | 71 | ||
72 | 72 | ||
73 | Event Profiling | ||
74 | --------------- | ||
75 | You can check the total number of probe hits and probe miss-hits via | ||
76 | /sys/kernel/debug/tracing/kprobe_profile. | ||
77 | The first column is event name, the second is the number of probe hits, | ||
78 | the third is the number of probe miss-hits. | ||
79 | |||
80 | |||
73 | Usage examples | 81 | Usage examples |
74 | -------------- | 82 | -------------- |
75 | To add a probe as a new event, write a new definition to kprobe_events | 83 | To add a probe as a new event, write a new definition to kprobe_events |