]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
perf hists browser: Refuse 'a' hotkey on non symbolic views
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 21 Oct 2011 12:58:24 +0000 (10:58 -0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 21 Oct 2011 12:58:24 +0000 (10:58 -0200)
commita6e51f9fa9124ad6657e6f1c8df2b1033922e9d7
tree0f8cf0fc835fd16318886c51229c45234a52e506
parentcf9580036a830f9e95f32dbcedfc57ea1697f120
perf hists browser: Refuse 'a' hotkey on non symbolic views

We don't allocate the histogram data structures for --sort lists without
"sym", so, just like was done for the menu, don't try to annotate when
'a' is pressed, just warn the user about it.

Reported-by: David Ahern <dsahern@gmail.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-27mjg02s2mbw8lfxqv7jpzec@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/ui/browsers/hists.c