perf tools: Make reset_dimensions global

Will be used from external places in the upcoming c2c patch series.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Joe Mario <jmario@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1474558645-19956-5-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Jiri Olsa 2016-09-22 17:36:32 +02:00 committed by Arnaldo Carvalho de Melo
parent 9da44db149
commit bcf98740a2
2 changed files with 2 additions and 1 deletions

View File

@ -2748,7 +2748,7 @@ static int setup_output_list(struct perf_hpp_list *list, char *str)
return ret; return ret;
} }
static void reset_dimensions(void) void reset_dimensions(void)
{ {
unsigned int i; unsigned int i;

View File

@ -269,4 +269,5 @@ int report_parse_ignore_callees_opt(const struct option *opt, const char *arg, i
bool is_strict_order(const char *order); bool is_strict_order(const char *order);
int hpp_dimension__add_output(unsigned col); int hpp_dimension__add_output(unsigned col);
void reset_dimensions(void);
#endif /* __PERF_SORT_H */ #endif /* __PERF_SORT_H */