projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c64550c
)
perf hists: Don't consider filtered entries when calculating column widths
author
Arnaldo Carvalho de Melo
<acme@redhat.com>
Thu, 20 Oct 2011 09:35:45 +0000
(07:35 -0200)
committer
Arnaldo Carvalho de Melo
<acme@redhat.com>
Thu, 20 Oct 2011 09:35:45 +0000
(07:35 -0200)
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link:
http://lkml.kernel.org/n/tip-rf01wktu1e3f3az32nry86vu@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/hist.c
b/tools/perf/util/hist.c
index
1f269fd
..
f6a9939
100644
(file)
--- a/
tools/perf/util/hist.c
+++ b/
tools/perf/util/hist.c
@@
-725,7
+725,8
@@
void hists__output_recalc_col_len(struct hists *hists, int max_rows)
while (next && row++ < max_rows) {
n = rb_entry(next, struct hist_entry, rb_node);
- hists__calc_col_len(hists, n);
+ if (!n->filtered)
+ hists__calc_col_len(hists, n);
next = rb_next(&n->rb_node);
}
}