diff options
author | Jiri Olsa <jolsa@redhat.com> | 2013-06-17 12:02:43 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-07-12 12:46:05 -0400 |
commit | ad3d6f508738323c0e843c4dbdd421c1aeb59cd8 (patch) | |
tree | c8340f77889854ec864a66c02eee82d0a581897a /tools/perf/builtin-report.c | |
parent | e7c93f09b83be25281cf129674e0035664715033 (diff) |
perf tools: Do not elide parent symbol column
I found the parent symbol column data interesting even
if there's another sorting enabled. Switching it on.
Previous behaviour:
$ perf report -i perf.data.delete -p perf_session__delete -x
+ 3.60% perf perf [.] __rb_change_child
+ 1.89% perf perf [.] rb_erase
+ 1.89% perf perf [.] rb_erase
+ 1.83% perf perf [.] free@plt
Current behaviour:
$ perf report -i perf.data.delete -p perf_session__delete -x
+ 3.60% perf perf [.] __rb_change_child perf_session__delete
+ 1.89% perf perf [.] rb_erase perf_session__delete_dead_threads
+ 1.89% perf perf [.] rb_erase perf_session__delete_threads
+ 1.83% perf perf [.] free@plt perf_session__delete
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-r79fn89bhqz16ixa5zmyflrd@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r-- | tools/perf/builtin-report.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c index 3662047cc6b1..6ab49dafef25 100644 --- a/tools/perf/builtin-report.c +++ b/tools/perf/builtin-report.c | |||
@@ -931,14 +931,6 @@ repeat: | |||
931 | if (parent_pattern != default_parent_pattern) { | 931 | if (parent_pattern != default_parent_pattern) { |
932 | if (sort_dimension__add("parent") < 0) | 932 | if (sort_dimension__add("parent") < 0) |
933 | goto error; | 933 | goto error; |
934 | |||
935 | /* | ||
936 | * Only show the parent fields if we explicitly | ||
937 | * sort that way. If we only use parent machinery | ||
938 | * for filtering, we don't want it. | ||
939 | */ | ||
940 | if (!strstr(sort_order, "parent")) | ||
941 | sort_parent.elide = 1; | ||
942 | } | 934 | } |
943 | 935 | ||
944 | if (argc) { | 936 | if (argc) { |