#include <stdio.h>
#include <stdarg.h>
Go to the source code of this file.
◆ __DEBUG_TRACE__
#define __DEBUG_TRACE__ "/dev/pts/0" |
◆ __THIS_FILE__
#define __THIS_FILE__ __FILE__ |
◆ _TRACE0
Value: trace(
"%s(%d) %s: %s",
__THIS_FILE__, __LINE__, __PRETTY_FUNCTION__, str)
Definition at line 35 of file _trace.h.
35#define _TRACE0(str) \
36 trace("%s(%d) %s: %s", __THIS_FILE__, __LINE__, __PRETTY_FUNCTION__, str)
◆ _TRACE1
#define _TRACE1 |
( |
| fmt, |
|
|
| arg1 ) |
Value: trace(
"%s(%d) %s: " fmt,
__THIS_FILE__, __LINE__, __PRETTY_FUNCTION__, arg1)
Definition at line 37 of file _trace.h.
37#define _TRACE1(fmt, arg1) \
38 trace("%s(%d) %s: " fmt, __THIS_FILE__, __LINE__, __PRETTY_FUNCTION__, arg1)
◆ _TRACE2
#define _TRACE2 |
( |
| fmt, |
|
|
| arg1, |
|
|
| arg2 ) |
Value: trace(
"%s(%d) %s: " fmt,
__THIS_FILE__, __LINE__, __PRETTY_FUNCTION__, arg1, arg2)
Definition at line 39 of file _trace.h.
39#define _TRACE2(fmt, arg1, arg2) \
40 trace("%s(%d) %s: " fmt, __THIS_FILE__, __LINE__, __PRETTY_FUNCTION__, arg1, arg2)
◆ _TRACE3
#define _TRACE3 |
( |
| fmt, |
|
|
| arg1, |
|
|
| arg2, |
|
|
| arg3 ) |
Value: trace(
"%s(%d) %s: " fmt,
__THIS_FILE__, __LINE__, __PRETTY_FUNCTION__, arg1, arg2, arg3)
Definition at line 41 of file _trace.h.
41#define _TRACE3(fmt, arg1, arg2, arg3) \
42 trace("%s(%d) %s: " fmt, __THIS_FILE__, __LINE__, __PRETTY_FUNCTION__, arg1, arg2, arg3)