path: root/tools/perf/Documentation/perf-script.txt
diff options
authorDavid Ahern <>2015-03-24 09:52:41 -0600
committerArnaldo Carvalho de Melo <>2015-03-24 13:02:46 -0300
commite03eaa400cf8b8bded86cc5c41018a1c69152f16 (patch)
tree50864d78ede1a333b0b6fb8fe09486ed3f3ad1c2 /tools/perf/Documentation/perf-script.txt
parent6b1f342354d45c651cabd2ae0f61f55846f33e10 (diff)
perf tools: Add pid/tid filtering to report and script commands
The 'record' and 'top' tools already allow a user to specify a CSV of pids and/or tids of tasks to collect data. Add those options to the 'report' and 'script' analysis commands to only consider samples related to the given pids/tids. This is also inline with the existing comm option. Signed-off-by: David Ahern <> Cc: Adrian Hunter <> Cc: Frederic Weisbecker <> Cc: Jiri Olsa <> Cc: Namhyung Kim <> Cc: Stephane Eranian <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
Diffstat (limited to 'tools/perf/Documentation/perf-script.txt')
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-script.txt b/tools/perf/Documentation/perf-script.txt
index a21eec05bc42..79445750fcb3 100644
--- a/tools/perf/Documentation/perf-script.txt
+++ b/tools/perf/Documentation/perf-script.txt
@@ -193,6 +193,12 @@ OPTIONS
Only display events for these comms. CSV that understands
file://filename entries.
+ Only show events for given process ID (comma separated list).
+ Only show events for given thread ID (comma separated list).
Display extended information about the file. This adds