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