]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
perf hists browser: Show extra_title_lines in the 'D' debug hotkey
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 6 Apr 2018 14:56:11 +0000 (11:56 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 6 Apr 2018 15:22:06 +0000 (12:22 -0300)
To help in fixing problems in the browser.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-uj0n76yqh5bf98i0edckd47t@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/ui/browsers/hists.c

index b06afb8f51fba57a7e949acbeaf7bbdf6c07d57f..de17e59d9952d5e74bd9f98aec360a9b79eb3b47 100644 (file)
@@ -659,9 +659,10 @@ int hist_browser__run(struct hist_browser *browser, const char *help,
                        struct hist_entry *h = rb_entry(browser->b.top,
                                                        struct hist_entry, rb_node);
                        ui_helpline__pop();
-                       ui_helpline__fpush("%d: nr_ent=(%d,%d), rows=%d, idx=%d, fve: idx=%d, row_off=%d, nrows=%d",
+                       ui_helpline__fpush("%d: nr_ent=(%d,%d), etl: %d, rows=%d, idx=%d, fve: idx=%d, row_off=%d, nrows=%d",
                                           seq++, browser->b.nr_entries,
                                           browser->hists->nr_entries,
+                                          browser->b.extra_title_lines,
                                           browser->b.rows,
                                           browser->b.index,
                                           browser->b.top_idx,