perf/probes: Fall back to non-dwarf if possible
authorMasami Hiramatsu <mhiramat@redhat.com>
Wed, 4 Nov 2009 00:12:30 +0000 (19:12 -0500)
committerIngo Molnar <mingo@elte.hu>
Wed, 4 Nov 2009 12:02:47 +0000 (13:02 +0100)
commita225a1d911f0e434dc0407df29fd08e4388f3fa4
treed7b298174ffe1ce6d2e849aa89f9ace55e41e419
parenta7f4328b91fb6e71dbe1fa4d46f3597c9555014d
perf/probes: Fall back to non-dwarf if possible

Fall back to non-dwarf probe point if the probe definition may
not need dwarf analysis, when perf can't find vmlinux/debuginfo.
This might skip some inlined code of target function.

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: <20091104001229.3454.63987.stgit@harusame>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-probe.c
tools/perf/util/probe-finder.c