tracef: minor fixes
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 4 Sep 2015 21:47:51 +0000 (17:47 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 5 Sep 2015 01:52:32 +0000 (21:52 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
contents/using-lttng/instrumenting/c-application/tracef.md

index 8918e76de2b7c87d3fcf9d401010a47f7251e882..1ec93c2674f6987351ca01124f16ebcc760374b8 100644 (file)
@@ -12,7 +12,7 @@ super simple, albeit with notable disadvantages compared to custom,
 full-fledged tracepoint providers:
 
   * All generated events have the same provider/event names, respectively
-    `lttng-ust-tracef` and `event`.
+    `lttng_ust_tracef` and `event`.
   * There's no static type checking.
   * The only event field you actually get, named `msg`, is a string
     potentially containing the values you passed to the function
@@ -59,4 +59,9 @@ Execute the application as usual:
 </pre>
 
 VoilĂ ! Use the `lttng` command line tool to
-[control tracing](#doc-controlling-tracing).
+[control tracing](#doc-controlling-tracing). You can enable `tracef()`
+events like this:
+
+<pre class="term">
+lttng enable-event --userspace 'lttng_ust_tracef:*'
+</pre>
This page took 0.023157 seconds and 4 git commands to generate.