Skip to content

Commit 5c496f1

Browse files
james-c-linaronamhyung
authored andcommitted
perf list: Document -v option deduplication feature
-v disables deduplication of similarly suffixed PMUs so add it to the help and doc strings. Reviewed-by: Ian Rogers <[email protected]> Signed-off-by: James Clark <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Namhyung Kim <[email protected]>
1 parent c9d699e commit 5c496f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/perf/Documentation/perf-list.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Don't print descriptions.
2727

2828
-v::
2929
--long-desc::
30-
Print longer event descriptions.
30+
Print longer event descriptions and all similar PMUs with alphanumeric suffixes.
3131

3232
--debug::
3333
Enable debugging output.

tools/perf/builtin-list.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ int cmd_list(int argc, const char **argv)
527527
OPT_BOOLEAN('d', "desc", &default_ps.desc,
528528
"Print extra event descriptions. --no-desc to not print."),
529529
OPT_BOOLEAN('v', "long-desc", &default_ps.long_desc,
530-
"Print longer event descriptions."),
530+
"Print longer event descriptions and all similar PMUs with alphanumeric suffixes."),
531531
OPT_BOOLEAN(0, "details", &default_ps.detailed,
532532
"Print information on the perf event names and expressions used internally by events."),
533533
OPT_STRING('o', "output", &output_path, "file", "output file name"),

0 commit comments

Comments
 (0)