X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fquickstart.txt;h=1234fea6dc29006e31b525f01435d419e51e4a99;hb=159c7ff4ea99cd808f89787f66a23152483137d4;hp=a979f5bfe8b00f8195aaf4e793b17a77eb9e19fe;hpb=6f8eb30473ece47ca4bad68d3f4da2ea7a63e6a4;p=lttng-tools.git diff --git a/doc/quickstart.txt b/doc/quickstart.txt index a979f5bfe..1234fea6d 100644 --- a/doc/quickstart.txt +++ b/doc/quickstart.txt @@ -103,7 +103,7 @@ Again, a new powerful feature is the possibility to add perf counter data (using the perf API by Ingo Molnar) to the trace on a per event basis. Let say we want to get the CPU cycles at each define event: -# lttng add-context -k -e sched_switch --perf-name aname --perf-type 0 --perf-id 0 +# lttng add-context -k -e sched_switch -t 1 --perf-name aname --perf-type 0 --perf-id 0 You'll have to use the add-context help for all possible perf counter values.