projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Tracepoint API namespacing 'TRACEPOINT_LOGLEVEL'
[lttng-ust.git]
/
doc
/
examples
/
demo-tracelog
/
demo-tracelog.c
diff --git
a/doc/examples/demo-tracelog/demo-tracelog.c
b/doc/examples/demo-tracelog/demo-tracelog.c
index 1950a7f4a371bc4e75cb36778d24861284670e06..5a7f0f965489e471cfc671c5a855b64a32f27cdf 100644
(file)
--- a/
doc/examples/demo-tracelog/demo-tracelog.c
+++ b/
doc/examples/demo-tracelog/demo-tracelog.c
@@
-25,7
+25,7
@@
int main(int argc, char **argv)
fprintf(stderr, "Tracing... ");
for (i = 0; i < 5; i++) {
- tracelog(
TRACE
_ERR, "Error condition %d", i);
+ tracelog(
LTTNG_UST_TRACEPOINT_LOGLEVEL
_ERR, "Error condition %d", i);
}
fprintf(stderr, " done.\n");
return 0;
This page took
0.023793 seconds
and
4
git commands to generate.