Staging
v0.8.1
swh:1:snp:a902887e4be9191b7c6c4406aa06b31c1ce2c7cc
Raw File
Tip revision: 2eaa9cfdf33b8d7fb7aff27792192e0019ae8fc6 authored by Linus Torvalds on 30 March 2010, 16:24:39 UTC
Linux 2.6.34-rc3
Tip revision: 2eaa9cf
debug.h
/* For debugging general purposes */
#ifndef __PERF_DEBUG_H
#define __PERF_DEBUG_H

#include "event.h"

extern int verbose;
extern int 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