]> Git Repo - linux.git/commitdiff
perf tools: Remove elide setup for SORT_MODE__MEMORY mode
authorJiri Olsa <[email protected]>
Fri, 23 May 2014 15:15:46 +0000 (17:15 +0200)
committerJiri Olsa <[email protected]>
Tue, 3 Jun 2014 19:34:53 +0000 (21:34 +0200)
There's no need to setup elide of sort_dso sort entry again
with symbol_conf.dso_list list.

The only difference were list names of memory mode data,
which does not make much sense to me.

Acked-by: Namhyung Kim <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Jiri Olsa <[email protected]>
tools/perf/util/sort.c

index 254f583a52abff9dbbbcf7cd23b4f150839fe7e3..2aba620a86f6397d9ef07f88e5880dc18f92a41d 100644 (file)
@@ -1412,19 +1412,6 @@ void sort__setup_elide(FILE *output)
                sort_entry__setup_elide(&sort_sym_to,
                                        symbol_conf.sym_to_list,
                                        "sym_to", output);
-       } else if (sort__mode == SORT_MODE__MEMORY) {
-               sort_entry__setup_elide(&sort_dso, symbol_conf.dso_list,
-                                       "symbol_daddr", output);
-               sort_entry__setup_elide(&sort_dso, symbol_conf.dso_list,
-                                       "dso_daddr", output);
-               sort_entry__setup_elide(&sort_dso, symbol_conf.dso_list,
-                                       "mem", output);
-               sort_entry__setup_elide(&sort_dso, symbol_conf.dso_list,
-                                       "local_weight", output);
-               sort_entry__setup_elide(&sort_dso, symbol_conf.dso_list,
-                                       "tlb", output);
-               sort_entry__setup_elide(&sort_dso, symbol_conf.dso_list,
-                                       "snoop", output);
        }
 
        /*
This page took 0.058822 seconds and 4 git commands to generate.