From 8c21faf6c7b4167daffd3d0fec336ec21a61241b Mon Sep 17 00:00:00 2001 From: Frederic Weisbecker Date: Wed, 29 Jun 2011 22:23:03 +0200 Subject: [PATCH] --- yaml --- r: 257077 b: refs/heads/master c: e84d21227c6865fe1f3d0c79d1539b6877f54c84 h: refs/heads/master i: 257075: 8389b3a87b34569ab47f7d0defaf784e35ad81c2 v: v3 --- [refs] | 2 +- trunk/tools/perf/util/hist.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index d2018d1f79f8..9a76efcdc980 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2fd701bc782fad8792059dd586e1f00b64f6a52e +refs/heads/master: e84d21227c6865fe1f3d0c79d1539b6877f54c84 diff --git a/trunk/tools/perf/util/hist.c b/trunk/tools/perf/util/hist.c index dae4202fa65a..677e1da6bb3e 100644 --- a/trunk/tools/perf/util/hist.c +++ b/trunk/tools/perf/util/hist.c @@ -847,6 +847,9 @@ size_t hists__fprintf(struct hists *self, struct hists *pair, 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 -