perf tools: Add -H short option for --hierarchy
authorNamhyung Kim <namhyung@kernel.org>
Thu, 25 Jan 2024 05:51:24 +0000 (21:51 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Thu, 25 Jan 2024 23:24:04 +0000 (15:24 -0800)
commit7727d59de44e4568d0ad0f3867c8bdec69d688fe
treef636d7e5416cab8a3001f1910f52721ddface0ed
parent24852ef2e2d5c555c2da05baff112ea414b6e0f5
perf tools: Add -H short option for --hierarchy

I found the hierarchy mode useful, but it's easy to make a typo when
using it.  Let's add a short option for that.

Also update the documentation. :)

Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Link: https://lore.kernel.org/r/20240125055124.1579617-1-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/Documentation/perf-report.txt
tools/perf/Documentation/perf-top.txt
tools/perf/builtin-report.c
tools/perf/builtin-top.c