Patch "perf hists browser: Only offer symbol scripting when a symbol is under the cursor" has been added to the 4.5-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
perf hists browser: Only offer symbol scripting when a symbol is under the cursor
to the 4.5-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
perf-hists-browser-only-offer-symbol-scripting-when-a-symbol-is-under-the-cursor.patch
and it can be found in the queue-4.5 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
c221acb0f970d3b80d72c812cda19c121acf5d52Mon Sep 17 00:00:00 2001
From: Namhyung Kim <[email protected]>
Date: Thu, 21 Jan 2016 19:50:09 -0300
Subject: perf hists browser: Only offer symbol scripting when a symbol is under the cursor
From: Namhyung Kim <[email protected]>
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.
--- tools/perf/ui/browsers/hists.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
tools/perf/ui/browsers/hists.c +6 -4
@@ -2320,10 +2320,12 @@ skip_annotation:* * See hist_browser__show_entry. */ - nr_options +=add_script_opt (browser, - &actions[nr_options], - &options[nr_options], -NULL , browser->selection->sym); +if (sort__has_sym && browser->selection->sym) { + nr_options +=add_script_opt (browser, + &actions[nr_options], + &options[nr_options], +NULL , browser->selection->sym); + } } nr_options +=add_script_opt (browser, &actions[nr_options], &options[nr_options],NULL ,NULL );
Patches currently in stable-queue which might be from [email protected] are
queue-4.5/perf-hists-fix-determination-of-a-callchain-node-s-childlessness.patch queue-4.5/perf-evlist-reference-count-the-cpu-and-thread-maps-at-set_maps.patch queue-4.5/perf-hists-browser-fix-dump-to-show-correct-callchain-style.patch queue-4.5/perf-hists-browser-only-offer-symbol-scripting-when-a-symbol-is-under-the-cursor.patch queue-4.5/perf-core-fix-time-tracking-bug-with-multiplexing.patch queue-4.5/perf-stat-document-detailed-option.patch queue-4.5/perf-tools-handle-spaces-in-file-names-obtained-from-proc-pid-maps.patch