]> Git Repo - linux.git/commit
perf hists browser: Allow passing an initial hotkey
authorArnaldo Carvalho de Melo <[email protected]>
Thu, 12 Dec 2019 18:31:40 +0000 (15:31 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Mon, 6 Jan 2020 14:46:10 +0000 (11:46 -0300)
commitd10ec006dcd7b20b2eb7e9ef32fc6f83b0112893
tree9b7314c24169787bb6bcb28f57ccc635fa19c6f7
parent209f4e70a2f10bc6819eb20c5bc3988be31972c6
perf hists browser: Allow passing an initial hotkey

Sometimes we're in an outer code, like the main hists browser popup menu
and the user follows a suggestion about using some hotkey, and that
hotkey is really handled by hists_browser__run(), so allow for calling
it with that hotkey, making it handle it instead of waiting for the user
to press one.

Reviewed-by: Jiri Olsa <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jin Yao <[email protected]>
Cc: Kan Liang <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/builtin-c2c.c
tools/perf/ui/browsers/hists.c
tools/perf/ui/browsers/hists.h
This page took 0.058393 seconds and 4 git commands to generate.