diff options
author | Namhyung Kim <namhyung.kim@lge.com> | 2013-04-03 21:26:19 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-05-28 16:23:54 +0300 |
commit | 08e71542fd0f4a0e30b4e3794329d63ae891e0c0 (patch) | |
tree | 4d065cbda95407a6ef7b8dddd44af0e3a1f0c220 /tools/perf/util/sort.h | |
parent | afab87b91f3f331d55664172dad8e476e6ffca9d (diff) | |
download | linux-08e71542fd0f4a0e30b4e3794329d63ae891e0c0.tar.gz linux-08e71542fd0f4a0e30b4e3794329d63ae891e0c0.tar.bz2 linux-08e71542fd0f4a0e30b4e3794329d63ae891e0c0.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/util/sort.h')
-rw-r--r-- | tools/perf/util/sort.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h index 0232d476da87..51f1b5a854e7 100644 --- a/tools/perf/util/sort.h +++ b/tools/perf/util/sort.h @@ -181,7 +181,6 @@ extern struct list_head hist_entry__sort_list; int setup_sorting(void); extern int sort_dimension__add(const char *); -void sort_entry__setup_elide(struct sort_entry *self, struct strlist *list, - const char *list_name, FILE *fp); +void sort__setup_elide(FILE *fp); #endif /* __PERF_SORT_H */ |