Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1325111 > unrolled thread

[tip:perf/core] perf hists: Remove parent filter check in DSO filter function

Started bytip-bot for Namhyung Kim <tipbot@zytor.com>
First post2016-02-03 11:10 +0100
Last post2016-02-03 11:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [tip:perf/core] perf hists:   Remove parent filter check in DSO filter function tip-bot for Namhyung Kim <tipbot@zytor.com> - 2016-02-03 11:10 +0100

#1325111 — [tip:perf/core] perf hists: Remove parent filter check in DSO filter function

Fromtip-bot for Namhyung Kim <tipbot@zytor.com>
Date2016-02-03 11:10 +0100
Subject[tip:perf/core] perf hists: Remove parent filter check in DSO filter function
Message-ID<qY2xP-A6-3@gated-at.bofh.it>
Commit-ID:  c84a5d16711619621f368e84a179790df3377c87
Gitweb:     http://git.kernel.org/tip/c84a5d16711619621f368e84a179790df3377c87
Author:     Namhyung Kim <namhyung@kernel.org>
AuthorDate: Wed, 20 Jan 2016 10:15:20 +0900
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Tue, 26 Jan 2016 11:52:44 -0300

perf hists: Remove parent filter check in DSO filter function

The --exclude-other option sets HIST_FILTER__PARENT bit and it's only
set when a hist entry was created.  DSO filters don't change this so no
need to have the check in hists__filter_by_dso() IMHO.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Pekka Enberg <penberg@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/1453252521-24398-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/util/hist.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c
index 68a7612..1d8c8ea 100644
--- a/tools/perf/util/hist.c
+++ b/tools/perf/util/hist.c
@@ -1266,9 +1266,6 @@ void hists__filter_by_dso(struct hists *hists)
 	for (nd = rb_first(&hists->entries); nd; nd = rb_next(nd)) {
 		struct hist_entry *h = rb_entry(nd, struct hist_entry, rb_node);
 
-		if (symbol_conf.exclude_other && !h->parent)
-			continue;
-
 		if (hists__filter_entry_by_dso(hists, h))
 			continue;
 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web