Jiri Olsa
23c5831e2e
perf daemon: Add 'stop' command
...
Add 'perf daemon stop' command to stop daemon process and all running
sessions.
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
Start the daemon:
# perf daemon start
Stop the daemon
# perf daemon stop
Daemon is not running, nothing to connect to:
# perf daemon
connect error: Connection refused
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-13-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2021-02-11 10:02:54 -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-07-06 10:46:23 +00: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:02:54 -03:00
2021-01-04 15:54:27 +01:00
2021-01-15 15:49:07 -03:00
2020-06-11 16:27:24 +01: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