Skip to content

Commit

Permalink
lttng-add-context(1): fix style
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Proulx <[email protected]>
Signed-off-by: Jérémie Galarneau <[email protected]>
  • Loading branch information
eepp authored and jgalar committed Nov 29, 2016
1 parent d25b498 commit 954eb3b
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions doc/man/lttng-add-context.1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,17 @@ can only be used in the Linux kernel tracing domain, while per-thread
counters can only be used in the user space tracing domain.

It is also possible to enable PMU counters by raw ID using the
`perf:cpu:raw:r<N>:<name>` or `perf:thread:raw:r<N>:<name>` format for
the kernel and user-space respectively. `<N>` is a hexadecimal event
descriptor which is the same format as used by perf-record(1): a
concatenation of the `Umask value` and `Event number` provided by the
processor's manufacturer. The possible values for this field are
processor-specific. The `<name>` field is used to associate a clearer
name to the counter.
`perf:cpu:raw:rN:NAME` (Linux kernel tracing domain) or
`perf:thread:raw:rN:NAME` (user space tracing domain), with:

`N`::
A hexadecimal event descriptor which is the same format as used
by perf-record(1): a concatenation of the event number and umask
value provided by the processor's manufacturer. The possible values
for this field are processor-specific.

`NAME`::
Custom name to easily recognize the counter.

Application-specific context fields can be added to a channel using the
following syntax:
Expand Down

0 comments on commit 954eb3b

Please sign in to comment.