perf tools: Make is_printable_array global
authorJiri Olsa <jolsa@kernel.org>
Sat, 16 Jul 2016 16:11:19 +0000 (18:11 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 18 Jul 2016 22:49:47 +0000 (19:49 -0300)
commitaccaed2659530b4047678070cb23fd1d9a1c1a59
treeae4976757af3d33cde8e9b2cae12af727882b701
parent249de6e074580988d3ee4902236803098e2cda4c
perf tools: Make is_printable_array global

It's used from 2 objects in perf, so it's better to keep just one copy.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Pirko <jiri@mellanox.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1468685480-18951-3-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/python.c
tools/perf/util/scripting-engines/trace-event-python.c
tools/perf/util/util.c
tools/perf/util/util.h