summaryrefslogtreecommitdiff
path: root/tools/perf/util/hist.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2011-07-01 11:51:58 +0200
committerIngo Molnar <mingo@elte.hu>2011-07-01 11:51:58 +0200
commit343a031f3c4a7a663192cf56368bb5a6c56870c0 (patch)
treeee6c7fddf5de92f64f3759694cc6a4b7c28fa80a /tools/perf/util/hist.c
parent26ca5c11fb45ae2b2ac7e3574b8db6b3a3c7d350 (diff)
parentcb1955b86c86782ff20037da42ef030057501c34 (diff)
downloadlinux-3.10-343a031f3c4a7a663192cf56368bb5a6c56870c0.tar.gz
linux-3.10-343a031f3c4a7a663192cf56368bb5a6c56870c0.tar.bz2
linux-3.10-343a031f3c4a7a663192cf56368bb5a6c56870c0.zip
Merge branch 'perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/random-tracing into perf/core
Diffstat (limited to 'tools/perf/util/hist.c')
-rw-r--r--tools/perf/util/hist.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c
index 627a02e03c5..677e1da6bb3 100644
--- a/tools/perf/util/hist.c
+++ b/tools/perf/util/hist.c
@@ -14,7 +14,8 @@ enum hist_filter {
struct callchain_param callchain_param = {
.mode = CHAIN_GRAPH_REL,
- .min_percent = 0.5
+ .min_percent = 0.5,
+ .order = ORDER_CALLEE
};
u16 hists__col_len(struct hists *self, enum hist_column col)
@@ -846,6 +847,9 @@ print_entries:
for (nd = rb_first(&self->entries); nd; nd = rb_next(nd)) {
struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node);
+ if (h->filtered)
+ continue;
+
if (show_displacement) {
if (h->pair != NULL)
displacement = ((long)h->pair->position -