diff options
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/builtin-probe.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/perf/builtin-probe.c b/tools/perf/builtin-probe.c index b5d15cf25471..a58e11b7ea80 100644 --- a/tools/perf/builtin-probe.c +++ b/tools/perf/builtin-probe.c | |||
@@ -160,7 +160,10 @@ static const struct option options[] = { | |||
160 | 160 | ||
161 | int cmd_probe(int argc, const char **argv, const char *prefix __used) | 161 | int cmd_probe(int argc, const char **argv, const char *prefix __used) |
162 | { | 162 | { |
163 | int i, j, fd, ret; | 163 | int i, j, ret; |
164 | #ifndef NO_LIBDWARF | ||
165 | int fd; | ||
166 | #endif | ||
164 | struct probe_point *pp; | 167 | struct probe_point *pp; |
165 | 168 | ||
166 | argc = parse_options(argc, argv, options, probe_usage, | 169 | argc = parse_options(argc, argv, options, probe_usage, |