]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
perf hists browser: Only offer symbol scripting when a symbol is under the cursor
authorNamhyung Kim <namhyung@kernel.org>
Thu, 21 Jan 2016 22:50:09 +0000 (19:50 -0300)
committerKamal Mostafa <kamal@canonical.com>
Mon, 16 May 2016 17:27:01 +0000 (10:27 -0700)
commitcee96f7cab14d5b13b2b9a8e6b1013ee3fc6881e
tree6b5976f4d0893f6e113e58d52a11f1ee1636516d
parent588e15ec14085d9b339b27b0274d114dcdabaf70
perf hists browser: Only offer symbol scripting when a symbol is under the cursor

BugLink: http://bugs.launchpad.net/bugs/1578798
commit c221acb0f970d3b80d72c812cda19c121acf5d52 upstream.

When this feature was introduced a check was made if there was a
resolved symbol under the cursor, it got lost in commit ea7cd5923309
("perf hists browser: Split popup menu actions - part 2"), reinstate it.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>,
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Wang Nan <wangnan0@huawei.com>
Fixes: ea7cd5923309 ("perf hists browser: Split popup menu actions - part 2")
Link: http://lkml.kernel.org/r/1452960197-5323-9-git-send-email-namhyung@kernel.org
[ Carved out from a  larger patch ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
tools/perf/ui/browsers/hists.c