projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76ce93d
)
perf hists: Handle verbose in hists__sort_list_width
author
Arnaldo Carvalho de Melo
<acme@redhat.com>
Thu, 5 Aug 2010 22:15:48 +0000
(19:15 -0300)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Thu, 5 Aug 2010 22:38:01 +0000
(19:38 -0300)
Otherwise entries will get chopped up on the window.
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.c
patch
|
blob
|
blame
|
history
diff --git
a/tools/perf/util/hist.c
b/tools/perf/util/hist.c
index e7263d49bcf0e3041c359e722201988f2da79995..62ec9b0e4b9a32f770fe8c8611d61b605e4514b2 100644
(file)
--- a/
tools/perf/util/hist.c
+++ b/
tools/perf/util/hist.c
@@
-876,6
+876,9
@@
unsigned int hists__sort_list_width(struct hists *self)
if (!se->elide)
ret += 2 + hists__col_len(self, se->se_width_idx);
+ if (verbose) /* Addr + origin */
+ ret += 3 + BITS_PER_LONG / 4;
+
return ret;
}