perf tools: Factor eprintf to allow different debug variables
authorJiri Olsa <jolsa@kernel.org>
Mon, 14 Jul 2014 21:46:49 +0000 (23:46 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 17 Jul 2014 15:58:59 +0000 (12:58 -0300)
commitc95688aac7723c17b2badc23233706b2f02e58ed
tree78d9bebc31fac45faf4e5255cbc93dbd632ecf8a
parent84f5d36f486609277801e827241396334185d11c
perf tools: Factor eprintf to allow different debug variables

This way we can easily reuse current debug functions for another debug
variables other than verbose.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1405374411-29012-4-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/debug.c
tools/perf/util/debug.h
tools/perf/util/python.c