Go to the documentation of this file. 1 #ifndef __TRACE_AGENT_H__
2 #define __TRACE_AGENT_H__
7 #define PIPE_INIT (1024*1024)
58 bool stdout_flag,
unsigned long pipe_size,
64 return calloc(1, size);
67 #define pr_err(format, ...) fprintf(stderr, format, ## __VA_ARGS__)
68 #define pr_info(format, ...) fprintf(stdout, format, ## __VA_ARGS__)
70 #define pr_debug(format, ...) fprintf(stderr, format, ## __VA_ARGS__)
72 #define pr_debug(format, ...) do {} while (0)