diff options
Diffstat (limited to 'tools/perf/util/util.c')
| -rw-r--r-- | tools/perf/util/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/util.c b/tools/perf/util/util.c index 2055cf38041c..99664598bc1a 100644 --- a/tools/perf/util/util.c +++ b/tools/perf/util/util.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #include "../perf.h" | 1 | #include "../perf.h" |
| 2 | #include "util.h" | 2 | #include "util.h" |
| 3 | #include <sys/mman.h> | 3 | #include <sys/mman.h> |
| 4 | #ifndef NO_BACKTRACE | 4 | #ifdef BACKTRACE_SUPPORT |
| 5 | #include <execinfo.h> | 5 | #include <execinfo.h> |
| 6 | #endif | 6 | #endif |
| 7 | #include <stdio.h> | 7 | #include <stdio.h> |
| @@ -165,7 +165,7 @@ size_t hex_width(u64 v) | |||
| 165 | } | 165 | } |
| 166 | 166 | ||
| 167 | /* Obtain a backtrace and print it to stdout. */ | 167 | /* Obtain a backtrace and print it to stdout. */ |
| 168 | #ifndef NO_BACKTRACE | 168 | #ifdef BACKTRACE_SUPPORT |
| 169 | void dump_stack(void) | 169 | void dump_stack(void) |
| 170 | { | 170 | { |
| 171 | void *array[16]; | 171 | void *array[16]; |
