projects
/
external
/
ltrace.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tizen 2.0
[external/ltrace.git]
/
debug.h
1
#include <features.h>
2
3
/* debug levels:
4
*/
5
enum {
6
DEBUG_EVENT = 010,
7
DEBUG_PROCESS = 020,
8
DEBUG_FUNCTION = 040
9
};
10
11
void debug_(int level, const char *file, int line,
12
const char *fmt, ...) __attribute__((format(printf,4,5)));
13
14
int xinfdump(long, void *, int);
15
16
# define debug(level, expr...) debug_(level, __FILE__, __LINE__, expr)
17