projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move liblttng-ust to 'src/lib/'
[lttng-ust.git]
/
doc
/
examples
/
demo-tracef
/
demo-vtracef.c
diff --git
a/doc/examples/demo-tracef/demo-vtracef.c
b/doc/examples/demo-tracef/demo-vtracef.c
index 4f219f236c70585a5403c8b7fe2a62c9e7bf3f32..8fe8bb36d27a4bd55da56ac4d0b1d5fa1155f24d 100644
(file)
--- a/
doc/examples/demo-tracef/demo-vtracef.c
+++ b/
doc/examples/demo-tracef/demo-vtracef.c
@@
-11,6
+11,10
@@
#include <lttng/tracef.h>
+static
+void print_debug(const char* msg, ...)
+ __attribute__((format(printf, 1, 2)));
+static
void print_debug(const char* msg, ...)
{
va_list ap;
This page took
0.023691 seconds
and
4
git commands to generate.