perf report: Move logic to warn about kptr_restrict'ed kernels to separate function
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 8 Jan 2014 13:10:00 +0000 (10:10 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 13 Jan 2014 13:06:25 +0000 (10:06 -0300)
commitfad2918ed5171e6299a9b4b885d0459f35ee7377
tree80d36a6a68b18ba4692b45eb81353e0860d853d6
parent88aca8d966a1349631a0946ed77c7ed360519ed4
perf report: Move logic to warn about kptr_restrict'ed kernels to separate function

Its too big, better have a separate function for it so that the main
logic gets shorter/clearer.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-ahh6vfzyh8fsygjwrsbroeu0@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c