kprobe-tracer: Compare both of event-name and event-group to find probe
authorMasami Hiramatsu <mhiramat@redhat.com>
Tue, 27 Oct 2009 20:42:44 +0000 (16:42 -0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 29 Oct 2009 07:47:47 +0000 (08:47 +0100)
commitdd004c475cd15a5749b04b0283d41ffdfa57d658
treee5656577b7a2805ed99dfaf6a966756568c6390d
parent3f7e454af1dd8b9cea410d9380d3f71477e94f2b
kprobe-tracer: Compare both of event-name and event-group to find probe

Fix find_probe_event() to compare both of event-name and
event-group. Without this fix, kprobe-tracer overwrites existing
same event-name probe even if its group-name is different.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.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: Frederic Weisbecker <fweisbec@gmail.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: <20091027204244.30545.27516.stgit@harusame>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_kprobe.c