Jiri Olsa
6a6d1804a1
perf daemon: Set control fifo for session
...
Setup control fifos for session and add --control option to session
arguments.
Example:
# cat ~/.perfconfig
[daemon]
base=/opt/perfdata
[session-cycles]
run = -m 10M -e cycles --overwrite --switch-output -a
[session-sched]
run = -m 20M -e sched:* --overwrite --switch-output -a
Starting the daemon:
# perf daemon start
Use can list control fifos with (control and ack files):
# perf daemon -v
[776459:daemon] base: /opt/perfdata
output: /opt/perfdata/output
lock: /opt/perfdata/lock
[776460:cycles] perf record -m 20M -e cycles --overwrite --switch-output -a
base: /opt/perfdata/session-cycles
output: /opt/perfdata/session-cycles/output
control: /opt/perfdata/session-cycles/control
ack: /opt/perfdata/session-cycles/ack
[776461:sched] perf record -m 20M -e sched:* --overwrite --switch-output -a
base: /opt/perfdata/session-sched
output: /opt/perfdata/session-sched/output
control: /opt/perfdata/session-sched/control
ack: /opt/perfdata/session-sched/ack
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: Ingo Molnar <mingo@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: https://lore.kernel.org/r/20210208200908.1019149-15-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2021-02-11 10:19:52 -03:00
..
2021-02-08 16:25:00 -03:00
2021-01-14 10:32:20 -05:00
2021-01-20 14:35:31 -03:00
2021-01-20 14:34:20 -03:00
2020-09-01 19:38:33 -06:00
2020-12-08 10:53:58 -07:00
2021-01-18 10:05:35 +01:00
2020-08-22 10:53:12 +01:00
2021-02-08 16:25:00 -03:00
2020-09-21 07:50:58 -06:00
2020-12-11 19:18:51 -05:00
2021-01-27 16:48:04 -03:00
2020-11-06 17:25:17 -08:00
2021-01-21 15:49:58 -06:00
2021-02-11 10:19:52 -03:00
2021-01-04 15:54:27 +01:00
2021-01-15 15:49:07 -03:00
2021-01-28 15:24:43 -08:00
2020-08-19 14:11:44 +02:00
2020-12-18 16:14:30 -05:00
2020-09-04 12:46:06 +01:00
2020-07-13 10:42:02 -07:00