diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2013-04-03 21:26:19 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 11:43:29 +0900 |
commit | 30e0a23f5cf815ac4c9d6ea4560d9b71b9b113fd (patch) | |
tree | 0fd5f24de53be1ce073ed6ee2c7cf0742586d09d /tools/perf/builtin-diff.c | |
parent | 105b8cdd527af753532ee856f90116a04cb1c2bf (diff) | |
download | linux-3.10-30e0a23f5cf815ac4c9d6ea4560d9b71b9b113fd.tar.gz linux-3.10-30e0a23f5cf815ac4c9d6ea4560d9b71b9b113fd.tar.bz2 linux-3.10-30e0a23f5cf815ac4c9d6ea4560d9b71b9b113fd.zip |
perf sort: Consolidate sort_entry__setup_elide()
The same code was duplicate to places, factor them out to common
sort__setup_elide().
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1364991979-3008-11-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-diff.c')
-rw-r--r-- | tools/perf/builtin-diff.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c index 2d0462d89a9..cabbea5f0bc 100644 --- a/tools/perf/builtin-diff.c +++ b/tools/perf/builtin-diff.c @@ -611,9 +611,7 @@ int cmd_diff(int argc, const char **argv, const char *prefix __maybe_unused) setup_pager(); - sort_entry__setup_elide(&sort_dso, symbol_conf.dso_list, "dso", NULL); - sort_entry__setup_elide(&sort_comm, symbol_conf.comm_list, "comm", NULL); - sort_entry__setup_elide(&sort_sym, symbol_conf.sym_list, "symbol", NULL); + sort__setup_elide(NULL); return __cmd_diff(); } |