perf probe: Add perf probe command support without libdwarf
authorMasami Hiramatsu <mhiramat@redhat.com>
Wed, 7 Oct 2009 22:28:30 +0000 (18:28 -0400)
committerFrederic Weisbecker <fweisbec@gmail.com>
Mon, 12 Oct 2009 21:31:53 +0000 (23:31 +0200)
commit23e8ec0d1c410f2f1d81050ee155db229abb1707
tree309462a3591f3239741373a413482abb03e49145
parent4ea42b181434bfc6a0a18d32214130a242d489bf
perf probe: Add perf probe command support without libdwarf

Enables 'perf probe' even if libdwarf is not installed. If libdwarf is
not found, 'perf probe' just disables dwarf support. Users can use
'perf probe' to set up new events by using kprobe_events format.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Frank Ch. Eigler <fche@redhat.com>
LKML-Reference: <20091007222830.1684.25665.stgit@dhcp-100-2-132.bos.redhat.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
tools/perf/Makefile
tools/perf/builtin-probe.c
tools/perf/perf.c
tools/perf/util/probe-finder.h