perf: Check libdwarf APIs for perf probe
authorMasami Hiramatsu <mhiramat@redhat.com>
Sat, 17 Oct 2009 00:07:52 +0000 (20:07 -0400)
committerIngo Molnar <mingo@elte.hu>
Sat, 17 Oct 2009 07:53:59 +0000 (09:53 +0200)
commit4c20194c2de151bca14224ae384b47abf7636a95
tree70b120a64d3fddb13d3bb9f8ca65fd5c5c4dd7de
parentd1baf5a5a6088e2991b7dbbd370ff200bd6615ce
perf: Check libdwarf APIs for perf probe

Check libdwarf APIs for perf probe in tools/perf/Makefile. Since
dwarf_get_ranges() has been added from libdwarf 20081231 (and
it's the newest function used in probe-finder.c), this just
checks whether the function is defined.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20091017000752.16556.92051.stgit@dhcp-100-2-132.bos.redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Makefile