projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: perf counter context: leak event field structure
[lttng-ust.git]
/
doc
/
examples
/
demo-tracelog
/
demo-vtracelog.c
diff --git
a/doc/examples/demo-tracelog/demo-vtracelog.c
b/doc/examples/demo-tracelog/demo-vtracelog.c
index eed8677c4d4beb67da7dac7d2fa215cbd118a47d..c396a3002c7aed57faa1bf1dcc36842441976a86 100644
(file)
--- a/
doc/examples/demo-tracelog/demo-vtracelog.c
+++ b/
doc/examples/demo-tracelog/demo-vtracelog.c
@@
-11,7
+11,10
@@
#include <lttng/tracelog.h>
-__attribute__((format(printf, 1, 2)))
+static
+void print_err(const char* msg, ...)
+ __attribute__((format(printf, 1, 2)));
+static
void print_err(const char* msg, ...)
{
va_list ap;
This page took
0.025069 seconds
and
4
git commands to generate.