https://jxself.org/git/linux-libre.git
Raw File
Tip revision: ca91988fa00aca4e93140cbccd63f724099431fc authored by Jason Self on 17 April 2011, 20:16:27 UTC
Linux-libre 2.6.34.9-gnu1
Tip revision: ca91988
debug.h
/* 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 */
back to top