aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/probe-finder.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/probe-finder.h')
-rw-r--r--tools/perf/util/probe-finder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/probe-finder.h b/tools/perf/util/probe-finder.h
index af920de64866..306810c32f6b 100644
--- a/tools/perf/util/probe-finder.h
+++ b/tools/perf/util/probe-finder.h
@@ -44,6 +44,7 @@ struct probe_point {
44 char *probes[MAX_PROBES]; /* Output buffers (will be allocated)*/ 44 char *probes[MAX_PROBES]; /* Output buffers (will be allocated)*/
45}; 45};
46 46
47#ifndef NO_LIBDWARF
47extern int find_probepoint(int fd, struct probe_point *pp); 48extern int find_probepoint(int fd, struct probe_point *pp);
48 49
49#include <libdwarf/dwarf.h> 50#include <libdwarf/dwarf.h>
@@ -64,5 +65,6 @@ struct probe_finder {
64 char *buf; /* Current output buffer */ 65 char *buf; /* Current output buffer */
65 int len; /* Length of output buffer */ 66 int len; /* Length of output buffer */
66}; 67};
68#endif /* NO_LIBDWARF */
67 69
68#endif /*_PROBE_FINDER_H */ 70#endif /*_PROBE_FINDER_H */