summaryrefslogtreecommitdiff
path: root/tools/perf/Documentation/perf-daemon.txt
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2021-02-08 23:08:56 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-02-11 16:02:54 +0300
commit23c5831e2e040f7a044743a2e6e060426d579d7f (patch)
tree298d9276c38ecb843af8b1c71866c938b1e24c0a /tools/perf/Documentation/perf-daemon.txt
parent2d6914cd59ffb6716154f81f1c23145747887514 (diff)
downloadlinux-23c5831e2e040f7a044743a2e6e060426d579d7f.tar.xz
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>
Diffstat (limited to 'tools/perf/Documentation/perf-daemon.txt')
-rw-r--r--tools/perf/Documentation/perf-daemon.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-daemon.txt b/tools/perf/Documentation/perf-daemon.txt
index 9cd47ec959e9..94d5e09a1e17 100644
--- a/tools/perf/Documentation/perf-daemon.txt
+++ b/tools/perf/Documentation/perf-daemon.txt
@@ -13,6 +13,7 @@ SYNOPSIS
'perf daemon'
'perf daemon' [<options>]
'perf daemon start' [<options>]
+'perf daemon stop' [<options>]
'perf daemon signal' [<options>]
@@ -62,6 +63,11 @@ The start command creates the daemon process.
Do not put the process in background.
+STOP COMMAND
+------------
+The stop command stops all the session and the daemon process.
+
+
SIGNAL COMMAND
--------------
The signal command sends signal to configured sessions.