summaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation/perf-record.txt
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2016-08-01 20:02:35 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-08-02 16:33:29 -0300
commitb6f35ed774aeaf441e66cfa243fd1dff1321d69e (patch)
treea8cd6420e9bc852b23ebdc1303bc45b328c19164 /tools/perf/Documentation/perf-record.txt
parent52c5cc363f2c5f50e88d2d340c039cc72797d69a (diff)
downloadtalos-op-linux-b6f35ed774aeaf441e66cfa243fd1dff1321d69e.tar.gz
talos-op-linux-b6f35ed774aeaf441e66cfa243fd1dff1321d69e.zip
perf record: Add --sample-cpu option
Adding --sample-cpu option to be able to explicitly enable CPU sample type. Currently it's only enable implicitly in case the target is cpu related. It will be useful for following c2c record tool. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1470074555-24889-8-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation/perf-record.txt')
-rw-r--r--tools/perf/Documentation/perf-record.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt
index 69966abf65d1..379a2bed07c0 100644
--- a/tools/perf/Documentation/perf-record.txt
+++ b/tools/perf/Documentation/perf-record.txt
@@ -192,6 +192,9 @@ OPTIONS
--period::
Record the sample period.
+--sample-cpu::
+ Record the sample cpu.
+
-n::
--no-samples::
Don't sample.
OpenPOWER on IntegriCloud