diff options
author | Masami Hiramatsu <mhiramat@redhat.com> | 2009-11-03 19:12:47 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-11-04 07:02:48 -0500 |
commit | 77b44d1b7c28360910cdbd427fb62d485c08674c (patch) | |
tree | 00db4f966b488abb88e5f3884ab2635e06f3f1d6 /kernel/trace/trace_kprobe.c | |
parent | 91365bbe4f8c39a821f390f785d606304d6dee3c (diff) |
tracing/kprobes: Rename Kprobe-tracer to kprobe-event
Rename Kprobes-based event tracer to kprobes-based tracing event
(kprobe-event), since it is not a tracer but an extensible
tracing event interface.
This also changes CONFIG_KPROBE_TRACER to CONFIG_KPROBE_EVENT
and sets it y by default.
Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Frank Ch. Eigler <fche@redhat.com>
Cc: Jason Baron <jbaron@redhat.com>
Cc: K.Prasad <prasad@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
LKML-Reference: <20091104001247.3454.14131.stgit@harusame>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace_kprobe.c')
-rw-r--r-- | kernel/trace/trace_kprobe.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c index a86c3ac0df21..cf17a6694f32 100644 --- a/kernel/trace/trace_kprobe.c +++ b/kernel/trace/trace_kprobe.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * kprobe based kernel tracer | 2 | * Kprobes-based tracing events |
3 | * | 3 | * |
4 | * Created by Masami Hiramatsu <mhiramat@redhat.com> | 4 | * Created by Masami Hiramatsu <mhiramat@redhat.com> |
5 | * | 5 | * |
@@ -57,8 +57,6 @@ const char *reserved_field_names[] = { | |||
57 | FIELD_STRING_FUNC, | 57 | FIELD_STRING_FUNC, |
58 | }; | 58 | }; |
59 | 59 | ||
60 | /* currently, trace_kprobe only supports X86. */ | ||
61 | |||
62 | struct fetch_func { | 60 | struct fetch_func { |
63 | unsigned long (*func)(struct pt_regs *, void *); | 61 | unsigned long (*func)(struct pt_regs *, void *); |
64 | void *data; | 62 | void *data; |
@@ -191,7 +189,7 @@ static __kprobes void free_indirect_fetch_data(struct indirect_fetch_data *data) | |||
191 | } | 189 | } |
192 | 190 | ||
193 | /** | 191 | /** |
194 | * Kprobe tracer core functions | 192 | * Kprobe event core functions |
195 | */ | 193 | */ |
196 | 194 | ||
197 | struct probe_arg { | 195 | struct probe_arg { |