]> git.baikalelectronics.ru Git - kernel.git/commit
perf record: Add --sample-cpu option
authorJiri Olsa <jolsa@kernel.org>
Mon, 1 Aug 2016 18:02:35 +0000 (20:02 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 2 Aug 2016 19:33:29 +0000 (16:33 -0300)
commit1f33081891d8c2589ec21289cf4f1ace34172395
treea8cd6420e9bc852b23ebdc1303bc45b328c19164
parent7b1a052b9545e82509dabd778ae131a2690576f5
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>
tools/perf/Documentation/perf-record.txt
tools/perf/builtin-record.c
tools/perf/perf.h
tools/perf/util/evsel.c