mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 23:28:55 +00:00
perf tools: Reformat record's control fd man text
Adding available control commands in separate paragraph, so it's more readable and easier to add new commands. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Alexei Budankov <abudankov@huawei.com> Cc: Ian Rogers <irogers@google.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Michael Petlan <mpetlan@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lore.kernel.org/lkml/20201216083914.47215-2-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
526671bfc4
commit
feca8a8342
1 changed files with 11 additions and 5 deletions
|
@ -637,11 +637,17 @@ endif::HAVE_LIBPFM[]
|
||||||
--control=fifo:ctl-fifo[,ack-fifo]::
|
--control=fifo:ctl-fifo[,ack-fifo]::
|
||||||
--control=fd:ctl-fd[,ack-fd]::
|
--control=fd:ctl-fd[,ack-fd]::
|
||||||
ctl-fifo / ack-fifo are opened and used as ctl-fd / ack-fd as follows.
|
ctl-fifo / ack-fifo are opened and used as ctl-fd / ack-fd as follows.
|
||||||
Listen on ctl-fd descriptor for command to control measurement ('enable': enable events,
|
Listen on ctl-fd descriptor for command to control measurement.
|
||||||
'disable': disable events, 'snapshot': AUX area tracing snapshot). Measurements can be
|
|
||||||
started with events disabled using --delay=-1 option. Optionally send control command
|
Available commands:
|
||||||
completion ('ack\n') to ack-fd descriptor to synchronize with the controlling process.
|
'enable' : enable events
|
||||||
Example of bash shell script to enable and disable events during measurements:
|
'disable' : disable events
|
||||||
|
'snapshot': AUX area tracing snapshot).
|
||||||
|
|
||||||
|
Measurements can be started with events disabled using --delay=-1 option. Optionally
|
||||||
|
send control command completion ('ack\n') to ack-fd descriptor to synchronize with the
|
||||||
|
controlling process. Example of bash shell script to enable and disable events during
|
||||||
|
measurements:
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue