X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=doc%2Fquickstart.txt;h=abf61e76c1bac2081d30be0862ddd8fef4aded0c;hp=1234fea6dc29006e31b525f01435d419e51e4a99;hb=90b9a26847f0eecba018f52e15f91bf992a23712;hpb=3301e7404d026657c2e466bcdf504b93ddbe58e3 diff --git a/doc/quickstart.txt b/doc/quickstart.txt index 1234fea6d..abf61e76c 100644 --- a/doc/quickstart.txt +++ b/doc/quickstart.txt @@ -100,10 +100,10 @@ You can on the same line activate multiple context: 5) Enable perf counter for an event: 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: +(using the perf API by Ingo Molnar and Thomas Gleixner) 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 -t 1 --perf-name aname --perf-type 0 --perf-id 0 +# lttng add-context -k -e sched_switch -t perf --perf-type hw --perf-id cpu_cycles You'll have to use the add-context help for all possible perf counter values.