diff options
author | 2019-03-05 21:05:42 +0800 | |
---|---|---|
committer | 2019-03-06 18:05:21 -0300 | |
commit | daca23b2007595b6a48255ca08c763f56050d1c5 (patch) | |
tree | ae8ef6d1a59f558901c0cba4928f66306e2dce0b /tools/perf/pmu-events | |
parent | perf diff: Support --time filter option (diff) | |
download | linux-daca23b2007595b6a48255ca08c763f56050d1c5.tar.gz linux-daca23b2007595b6a48255ca08c763f56050d1c5.tar.bz2 linux-daca23b2007595b6a48255ca08c763f56050d1c5.zip |
perf diff: Support --cpu filter option
To improve 'perf diff', implement a --cpu filter option.
Multiple CPUs can be provided as a comma-separated list with no space:
0,1. Ranges of CPUs are specified with -: 0-2. Default is to report
samples on all CPUs.
For example,
perf diff --cpu 0,1
It only diff the samples for CPU0 and CPU1.
Signed-off-by: Jin Yao <yao.jin@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jin Yao <yao.jin@intel.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1551791143-10334-3-git-send-email-yao.jin@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/pmu-events')
0 files changed, 0 insertions, 0 deletions