This is a note to let you know that I've just added the patch titled perf hists browser: Fix hierarchy mode header to the 6.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-fix-hierarchy-mode-header.patch and it can be found in the queue-6.5 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From e2cabf2a44791f01c21f8d5189b946926e34142e Mon Sep 17 00:00:00 2001 From: Namhyung Kim <namhyung@xxxxxxxxxx> Date: Mon, 31 Jul 2023 02:49:32 -0700 Subject: perf hists browser: Fix hierarchy mode header From: Namhyung Kim <namhyung@xxxxxxxxxx> commit e2cabf2a44791f01c21f8d5189b946926e34142e upstream. The commit ef9ff6017e3c4593 ("perf ui browser: Move the extra title lines from the hists browser") introduced ui_browser__gotorc_title() to help moving non-title lines easily. But it missed to update the title for the hierarchy mode so it won't print the header line on TUI at all. $ perf report --hierarchy Fixes: ef9ff6017e3c4593 ("perf ui browser: Move the extra title lines from the hists browser") Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx> Tested-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx> Cc: Ian Rogers <irogers@xxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxxxxx> Cc: Jiri Olsa <jolsa@xxxxxxxxxx> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> Cc: stable@xxxxxxxxxxxxxxx Link: https://lore.kernel.org/r/20230731094934.1616495-1-namhyung@xxxxxxxxxx Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- tools/perf/ui/browsers/hists.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/perf/ui/browsers/hists.c +++ b/tools/perf/ui/browsers/hists.c @@ -1779,7 +1779,7 @@ static void hists_browser__hierarchy_hea hists_browser__scnprintf_hierarchy_headers(browser, headers, sizeof(headers)); - ui_browser__gotorc(&browser->b, 0, 0); + ui_browser__gotorc_title(&browser->b, 0, 0); ui_browser__set_color(&browser->b, HE_COLORSET_ROOT); ui_browser__write_nstring(&browser->b, headers, browser->b.width + 1); } Patches currently in stable-queue which might be from namhyung@xxxxxxxxxx are queue-6.5/perf-hists-browser-fix-the-number-of-entries-for-e-key.patch queue-6.5/perf-test-stat_bpf_counters_cgrp-fix-shellcheck-issu.patch queue-6.5/perf-tools-handle-old-data-in-perf_record_attr.patch queue-6.5/perf-test-stat_bpf_counters_cgrp-enhance-perf-stat-c.patch queue-6.5/perf-vendor-events-move-json-events-to-appropriate-f.patch queue-6.5/perf-hists-browser-fix-hierarchy-mode-header.patch queue-6.5/perf-build-update-build-rule-for-generated-files.patch queue-6.5/perf-header-fix-missing-pmu-caps.patch queue-6.5/perf-parse-events-separate-enomem-memory-handling.patch queue-6.5/perf-dlfilter-initialize-addr_location-before-passin.patch queue-6.5/perf-top-don-t-pass-an-err_ptr-directly-to-perf_sess.patch queue-6.5/perf-annotate-bpf-don-t-enclose-non-debug-code-with-.patch queue-6.5/perf-trace-really-free-the-evsel-priv-area.patch queue-6.5/perf-parse-events-move-instances-of-yyabort-to-yynom.patch queue-6.5/perf-vendor-events-arm64-remove-l1d_cache_lmiss-from.patch queue-6.5/perf-script-print-cgroup-field-on-the-same-line-as-c.patch queue-6.5/perf-vendor-events-update-metric-event-names-for-pow.patch queue-6.5/perf-test-shell-stat_bpf_counters-fix-test-on-intel.patch queue-6.5/perf-parse-events-separate-yyabort-and-yynomem-cases.patch queue-6.5/perf-vendor-events-drop-stores_per_inst-metric-event.patch queue-6.5/perf-bpf-filter-fix-sample-flag-check-with.patch queue-6.5/perf-parse-events-additional-error-reporting.patch queue-6.5/perf-vendor-events-drop-some-of-the-json-events-for-.patch queue-6.5/perf-dlfilter-add-al_cleanup.patch queue-6.5/perf-vendor-events-update-the-json-events-descriptio.patch queue-6.5/perf-lock-don-t-pass-an-err_ptr-directly-to-perf_ses.patch queue-6.5/perf-build-include-generated-header-files-properly.patch