aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation/perf-diff.txt
diff options
context:
space:
mode:
authorJin Yao <yao.jin@linux.intel.com>2019-03-05 21:05:43 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-03-06 18:06:16 -0300
commitc1d3e633e16db3eb64f519c7099171bfcef94b20 (patch)
tree68315dd153428965a90231c70a83cef7e1f0c010 /tools/perf/Documentation/perf-diff.txt
parentperf diff: Support --cpu filter option (diff)
downloadlinux-dev-c1d3e633e16db3eb64f519c7099171bfcef94b20.tar.xz
linux-dev-c1d3e633e16db3eb64f519c7099171bfcef94b20.zip
perf diff: Support --pid/--tid filter options
Using the existing symbol_conf.pid_list_str and symbol_conf.tid_list_str logic. For example: perf diff --tid 13965 It'll only diff the samples for thread 13965. 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-4-git-send-email-yao.jin@linux.intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation/perf-diff.txt')
-rw-r--r--tools/perf/Documentation/perf-diff.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-diff.txt b/tools/perf/Documentation/perf-diff.txt
index 8c2c229faf50..da7809b15cc9 100644
--- a/tools/perf/Documentation/perf-diff.txt
+++ b/tools/perf/Documentation/perf-diff.txt
@@ -168,6 +168,12 @@ OPTIONS
CPUs are specified with -: 0-2. Default is to report samples on all
CPUs.
+--pid=::
+ Only diff samples for given process ID (comma separated list).
+
+--tid=::
+ Only diff samples for given thread ID (comma separated list).
+
COMPARISON
----------
The comparison is governed by the baseline file. The baseline perf.data