Root/tools/perf/util/debug.h

1/* For debugging general purposes */
2#ifndef __PERF_DEBUG_H
3#define __PERF_DEBUG_H
4
5#include "event.h"
6
7extern int verbose;
8extern int dump_trace;
9
10int eprintf(int level,
11        const char *fmt, ...) __attribute__((format(printf, 2, 3)));
12int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
13void trace_event(event_t *event);
14
15#endif /* __PERF_DEBUG_H */
16

Archive Download this file



interactive