projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 2.5.0-rc2
[lttng-ust.git]
/
doc
/
man
/
lttng-ust.3
diff --git
a/doc/man/lttng-ust.3
b/doc/man/lttng-ust.3
index 591c1db014eef7acf3f8d4b1f11cf14adc1772f0..c72bd32bd116a90b2546e1bb33ac4b27c88b0a28 100644
(file)
--- a/
doc/man/lttng-ust.3
+++ b/
doc/man/lttng-ust.3
@@
-20,7
+20,7
@@
applications and libraries.
.SH "USAGE WITH TRACEF"
.PP
The simplest way to add instrumentation to your code is by far the
.SH "USAGE WITH TRACEF"
.PP
The simplest way to add instrumentation to your code is by far the
-tracef() API. To
you
it, in a nutshell:
+tracef() API. To
do
it, in a nutshell:
1) #include <lttng/tracef.h>
1) #include <lttng/tracef.h>
@@
-29,12
+29,15
@@
tracef() API. To you it, in a nutshell:
3) Link your program against liblttng-ust.so.
3) Link your program against liblttng-ust.so.
-4) Enable
the UST event "lttng_ust_tracef:event" when tracing with the
- f
ollowing sequence of commands f
rom lttng-tools:
+4) Enable
UST events when tracing with the following sequence of commands
+ from lttng-tools:
- lttng create; lttng enable-event -u "lttng_ust_tracef:event"; lttng start
+ lttng create
+ lttng enable-event -u -a
+ lttng start
[... run your program ...]
[... run your program ...]
- lttng stop; lttng view
+ lttng stop
+ lttng view
That's it!
That's it!
This page took
0.023293 seconds
and
4
git commands to generate.