projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move msgpack to libcommon
[lttng-ust.git]
/
include
/
lttng
/
tracelog.h
diff --git
a/include/lttng/tracelog.h
b/include/lttng/tracelog.h
index 4dfb9d3615c81fd9dc70bea086311b5e5e41d261..336911f4d5b243befd7c3a611a312fdce0138991 100644
(file)
--- a/
include/lttng/tracelog.h
+++ b/
include/lttng/tracelog.h
@@
-15,9
+15,13
@@
extern "C" {
#define TP_TRACELOG_CB_TEMPLATE(level) \
extern void _lttng_ust_tracelog_##level(const char *file, \
#define TP_TRACELOG_CB_TEMPLATE(level) \
extern void _lttng_ust_tracelog_##level(const char *file, \
- int line, const char *func, const char *fmt, ...); \
+ int line, const char *func, const char *fmt, ...) \
+ __attribute__ ((format(printf, 4, 5))); \
+ \
extern void _lttng_ust_vtracelog_##level(const char *file, \
extern void _lttng_ust_vtracelog_##level(const char *file, \
- int line, const char *func, const char *fmt, va_list ap);
+ int line, const char *func, const char *fmt, \
+ va_list ap) \
+ __attribute__ ((format(printf, 4, 0)));
TP_TRACELOG_CB_TEMPLATE(TRACE_EMERG);
TP_TRACELOG_CB_TEMPLATE(TRACE_ALERT);
TP_TRACELOG_CB_TEMPLATE(TRACE_EMERG);
TP_TRACELOG_CB_TEMPLATE(TRACE_ALERT);
This page took
0.022957 seconds
and
4
git commands to generate.