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>
Showing
- tools/perf/builtin-diff.c 1 addition, 3 deletionstools/perf/builtin-diff.c
- tools/perf/builtin-report.c 1 addition, 19 deletionstools/perf/builtin-report.c
- tools/perf/builtin-top.c 1 addition, 3 deletionstools/perf/builtin-top.c
- tools/perf/util/sort.c 43 additions, 2 deletionstools/perf/util/sort.c
- tools/perf/util/sort.h 1 addition, 2 deletionstools/perf/util/sort.h
Loading
Please register or sign in to comment