Skip to content

Commit 79bacb6

Browse files
captain5050acmel
authored andcommitted
perf list: Add output file option
Add an option to write the 'perf list' output to a specific file. This can avoid issues with debug output being written into the output stream. Signed-off-by: Ian Rogers <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Athira Rajeev <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kajol Jain <[email protected]> Cc: Kan Liang <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Ravi Bangoria <[email protected]> Cc: Ross Zwisler <[email protected]> Cc: Shirisha G <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 9d95c6b commit 79bacb6

File tree

2 files changed

+133
-82
lines changed

2 files changed

+133
-82
lines changed

tools/perf/Documentation/perf-list.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ Print PMU events and metrics limited to the specific PMU name.
4747
--json::
4848
Output in JSON format.
4949

50+
-o::
51+
--output=::
52+
Output file name. By default output is written to stdout.
53+
5054
[[EVENT_MODIFIERS]]
5155
EVENT MODIFIERS
5256
---------------

0 commit comments

Comments
 (0)