]> git.baikalelectronics.ru Git - kernel.git/commit
perf report/top: Add menu entry for toggling callchain expansion
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 12 Dec 2019 13:58:21 +0000 (10:58 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 6 Jan 2020 14:46:10 +0000 (11:46 -0300)
commitcc6fda9b3d2415d52bf1dfea93392c98a893113b
treeb91718377ae8c8bd89be30184e0cc2496499d18e
parentc992e766a901d8dd695b6cc59776f28e2c22eb3c
perf report/top: Add menu entry for toggling callchain expansion

Since previously pressing ENTER toggled expansion/collapse of callchain
entries and now brings up the same menu used when callchains are not
present, add an entry so that users can quickly figure out the change in
behaviour.

Its worth mentioning that we also always had 'e'/'c' to expand/collapse
all entries in a hist entry and 'E'/'C' for all hist entries.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Reviewed-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-f9o03jo29fypvd8ly3j49d36@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c