projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce vtracelog
[lttng-ust.git]
/
include
/
lttng
/
tracelog.h
diff --git
a/include/lttng/tracelog.h
b/include/lttng/tracelog.h
index 4309d12e981eb524077677dd9f55c35154c37dc4..7aa8680987847ea2c76e9cae43c8aa05929dcc52 100644
(file)
--- a/
include/lttng/tracelog.h
+++ b/
include/lttng/tracelog.h
@@
-59,6
+59,13
@@
TP_TRACELOG_CB_TEMPLATE(TRACE_DEBUG);
fmt, ## __VA_ARGS__); \
} while (0)
fmt, ## __VA_ARGS__); \
} while (0)
+#define vtracelog(level, fmt, ap) \
+ do { \
+ if (caa_unlikely(__tracepoint_lttng_ust_tracelog___##level.state)) \
+ _lttng_ust_tracelog_##level(__FILE__, __LINE__, __func__, \
+ fmt, ap); \
+ } while (0)
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif
This page took
0.023626 seconds
and
4
git commands to generate.