aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorRavi Bangoria <[email protected]>2016-08-11 17:43:59 +0000
committerArnaldo Carvalho de Melo <[email protected]>2016-08-12 17:39:48 +0000
commitf046f3df665361d2f89e660f8c79ba164069f02a (patch)
tree6b87cf06cb3d2a0407e2ea9b3809b351962ce422 /tools/perf/builtin-script.c
parentperf tools mem: Fix -t store option for record command (diff)
downloadkernel-f046f3df665361d2f89e660f8c79ba164069f02a.tar.gz
kernel-f046f3df665361d2f89e660f8c79ba164069f02a.zip
perf ppc64le: Fix build failure when libelf is not present
arch__post_process_probe_trace_events() calls get_target_map() to prepare symbol table. get_target_map() is defined inside util/probe-event.c. probe-event.c will only get included in perf binary if CONFIG_LIBELF is set. Hence arch__post_process_probe_trace_events() needs to be defined inside #ifdef HAVE_LIBELF_SUPPORT to solve compilation error. Reported-and-Tested-by: Anton Blanchard <[email protected]> Tested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Balbir Singh <[email protected]> Cc: Naveen N. Rao <[email protected]> Cc: Ananth N Mavinakayanahalli <[email protected]> Cc: Masami Hiramatsu <[email protected]> Cc: Wang Nan <[email protected]> Cc: Namhyung Kim <[email protected]> Link: http://lkml.kernel.org/r/[email protected] [ Thunderbird MUA mangled it, fix that ] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions