diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2009-11-25 03:32:47 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-27 00:43:04 -0500 |
commit | 3d9b2e1ddf42dd3df38af7794fa5e39cce760f3b (patch) | |
tree | 23018fe2da17878e147185ee979b1dff8129d5a8 /kernel/trace | |
parent | abab9d37d2a826fcf588c5f30152dbe05c40111c (diff) |
trace_kprobes: Always show group name
Sometimes the group name is not "kprobes",
It'll be better if we can read it from tracing/kprobe_events.
# echo 'r:laijs/vfs_read vfs_read %ax' > kprobe_events
# cat kprobe_events
r:laijs/vfs_read vfs_read %ax=%ax
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4B0CEBAF.6000104@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace')
-rw-r--r-- | kernel/trace/trace_kprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c index 82e85836d05e..96e1944229be 100644 --- a/kernel/trace/trace_kprobe.c +++ b/kernel/trace/trace_kprobe.c | |||
@@ -760,7 +760,7 @@ static int probes_seq_show(struct seq_file *m, void *v) | |||
760 | char buf[MAX_ARGSTR_LEN + 1]; | 760 | char buf[MAX_ARGSTR_LEN + 1]; |
761 | 761 | ||
762 | seq_printf(m, "%c", probe_is_return(tp) ? 'r' : 'p'); | 762 | seq_printf(m, "%c", probe_is_return(tp) ? 'r' : 'p'); |
763 | seq_printf(m, ":%s", tp->call.name); | 763 | seq_printf(m, ":%s/%s", tp->call.system, tp->call.name); |
764 | 764 | ||
765 | if (tp->symbol) | 765 | if (tp->symbol) |
766 | seq_printf(m, " %s+%u", probe_symbol(tp), tp->rp.kp.offset); | 766 | seq_printf(m, " %s+%u", probe_symbol(tp), tp->rp.kp.offset); |