[PATCH 03/11] perf ppc64le: Fix build failure when libelf is not present

2016-08-15 Thread Arnaldo Carvalho de Melo
From: Ravi Bangoria 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

[PATCH 03/11] perf ppc64le: Fix build failure when libelf is not present

2016-08-15 Thread Arnaldo Carvalho de Melo
From: Ravi Bangoria 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