diff options
Diffstat (limited to 'tools/perf/util/debug.h')
-rw-r--r-- | tools/perf/util/debug.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/debug.h b/tools/perf/util/debug.h index 02d1fa1c2465..e8b18a1f87a4 100644 --- a/tools/perf/util/debug.h +++ b/tools/perf/util/debug.h | |||
@@ -5,7 +5,8 @@ | |||
5 | extern int verbose; | 5 | extern int verbose; |
6 | extern int dump_trace; | 6 | extern int dump_trace; |
7 | 7 | ||
8 | int eprintf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); | 8 | int eprintf(int level, |
9 | const char *fmt, ...) __attribute__((format(printf, 2, 3))); | ||
9 | int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); | 10 | int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); |
10 | void trace_event(event_t *event); | 11 | void trace_event(event_t *event); |
11 | 12 | ||