diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-12-14 17:09:29 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-15 02:50:28 -0500 |
commit | c8829c7a31c7e0156b230fa8d5a14be9881d7677 (patch) | |
tree | c8649f461c5192613de3fe47b728e47a8b5c9e2c /tools/perf/util/sort.h | |
parent | f823e441ab4dfaeaf17832fa1931e0dc0fde304d (diff) |
perf util: Remove setup_sorting dups
And it is also needed by 'perf diff'.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1260828571-3613-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/sort.h')
-rw-r--r-- | tools/perf/util/sort.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h index 333e664ff45f..cb6151c026f2 100644 --- a/tools/perf/util/sort.h +++ b/tools/perf/util/sort.h | |||
@@ -81,6 +81,8 @@ struct sort_entry { | |||
81 | extern struct sort_entry sort_thread; | 81 | extern struct sort_entry sort_thread; |
82 | extern struct list_head hist_entry__sort_list; | 82 | extern struct list_head hist_entry__sort_list; |
83 | 83 | ||
84 | void setup_sorting(const char * const usagestr[], const struct option *opts); | ||
85 | |||
84 | extern int repsep_fprintf(FILE *fp, const char *fmt, ...); | 86 | extern int repsep_fprintf(FILE *fp, const char *fmt, ...); |
85 | extern size_t sort__thread_print(FILE *, struct hist_entry *, unsigned int); | 87 | extern size_t sort__thread_print(FILE *, struct hist_entry *, unsigned int); |
86 | extern size_t sort__comm_print(FILE *, struct hist_entry *, unsigned int); | 88 | extern size_t sort__comm_print(FILE *, struct hist_entry *, unsigned int); |