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 16a984b664166068759c832055bb699c6c09fb01..854ccdce52b48c20f7098b49af8cb20ebc4cb5e9 100644
(file)
--- a/
include/lttng/tracef.h
+++ b/
include/lttng/tracef.h
@@
-25,14
+25,30
@@
#include <lttng/lttng-ust-tracef.h>
#include <lttng/lttng-ust-tracef.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
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
+
#endif /* _LTTNG_UST_TRACEF_H */
#endif /* _LTTNG_UST_TRACEF_H */
This page took
0.026026 seconds
and
4
git commands to generate.