diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2019-12-16 12:23:34 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-01-06 11:46:10 -0300 |
commit | d07126560cab572539621702137eeeeb2a4edf30 (patch) | |
tree | 8d11be08b004a91223df947ab61f3d6d197630d1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d10ec006dcd7b20b2eb7e9ef32fc6f83b0112893 (diff) |
tools ui popup: Allow returning hotkeys
With this patch if an optional pointer is passed to ui__popup_menu()
then when any key that is not being handled (ENTER, ESC, etc) is typed,
it'll record that key in the pointer and return, allowing for hotkey
processing on the caller.
If NULL is passed, no change in logic, unhandled keys continue to be
ignored.
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]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions