perf probe: Simplify event naming
authorMasami Hiramatsu <mhiramat@redhat.com>
Tue, 1 Dec 2009 00:20:25 +0000 (19:20 -0500)
committerIngo Molnar <mingo@elte.hu>
Tue, 1 Dec 2009 07:20:03 +0000 (08:20 +0100)
commitb498ce1f2753b9724b2fc05d2057f7d1490cfa93
tree3026bd9908994d7d20b062af276826f0e13c760d
parent4de189fe6e5ad8241f6f8709d2e2ba4c3aeae33a
perf probe: Simplify event naming

Simplify event naming as <symbol>_<seqnum>. Each event name is
globally unique (group name is not checked). So, if there is
schedule_0, next probe event on schedule() will be schedule_1.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
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>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20091201002024.10235.2353.stgit@harusame>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/probe-event.c
tools/perf/util/probe-event.h