projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hide new 'lttng_ust_context_set_event_notifier_group_provider' private symbol
[lttng-ust.git]
/
include
/
lttng
/
tracef.h
diff --git
a/include/lttng/tracef.h
b/include/lttng/tracef.h
index 7e8b59ee3bc5abf3a63b665f36b093dc3733d500..854ccdce52b48c20f7098b49af8cb20ebc4cb5e9 100644
(file)
--- a/
include/lttng/tracef.h
+++ b/
include/lttng/tracef.h
@@
-32,13
+32,21
@@
extern "C" {
extern
void _lttng_ust_tracef(const char *fmt, ...);
extern
void _lttng_ust_tracef(const char *fmt, ...);
+extern
+void _lttng_ust_vtracef(const char *fmt, va_list ap);
+
#define tracef(fmt, ...) \
do { \
#define tracef(fmt, ...) \
do { \
- STAP_PROBEV(tracepoint_lttng_ust_tracef, event, ## __VA_ARGS__); \
+
LTTNG_
STAP_PROBEV(tracepoint_lttng_ust_tracef, event, ## __VA_ARGS__); \
if (caa_unlikely(__tracepoint_lttng_ust_tracef___event.state)) \
_lttng_ust_tracef(fmt, ## __VA_ARGS__); \
} while (0)
if (caa_unlikely(__tracepoint_lttng_ust_tracef___event.state)) \
_lttng_ust_tracef(fmt, ## __VA_ARGS__); \
} while (0)
+#define vtracef(fmt, ap) \
+ do { \
+ if (caa_unlikely(__tracepoint_lttng_ust_tracef___event.state)) \
+ _lttng_ust_vtracef(fmt, ap); \
+ } while (0)
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif
This page took
0.023489 seconds
and
4
git commands to generate.