fix a kmap leak in virtio_console
[linux/fpc-iii.git] / tools / perf / util / debug.h
blob443694c36b03c50e639ac087664764200a71646c
1 /* For debugging general purposes */
2 #ifndef __PERF_DEBUG_H
3 #define __PERF_DEBUG_H
5 #include <stdbool.h>
6 #include "event.h"
7 #include "../ui/helpline.h"
8 #include "../ui/progress.h"
9 #include "../ui/util.h"
11 extern int verbose;
12 extern bool quiet, dump_trace;
14 int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
15 void trace_event(union perf_event *event);
17 int ui__error(const char *format, ...) __attribute__((format(printf, 1, 2)));
18 int ui__warning(const char *format, ...) __attribute__((format(printf, 1, 2)));
20 void pr_stat(const char *fmt, ...);
22 #endif /* __PERF_DEBUG_H */