summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/arch/powerpc/util/sym-handling.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/arch/powerpc/util/sym-handling.c b/tools/perf/arch/powerpc/util/sym-handling.c
index 8d4dc97d80ba..35745a733100 100644
--- a/tools/perf/arch/powerpc/util/sym-handling.c
+++ b/tools/perf/arch/powerpc/util/sym-handling.c
@@ -97,6 +97,7 @@ void arch__fix_tev_from_maps(struct perf_probe_event *pev,
97 } 97 }
98} 98}
99 99
100#ifdef HAVE_LIBELF_SUPPORT
100void arch__post_process_probe_trace_events(struct perf_probe_event *pev, 101void arch__post_process_probe_trace_events(struct perf_probe_event *pev,
101 int ntevs) 102 int ntevs)
102{ 103{
@@ -118,5 +119,6 @@ void arch__post_process_probe_trace_events(struct perf_probe_event *pev,
118 } 119 }
119 } 120 }
120} 121}
122#endif /* HAVE_LIBELF_SUPPORT */
121 123
122#endif 124#endif