perf jit: Move clockid validation
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 7 Mar 2016 19:44:41 +0000 (16:44 -0300)
committerIngo Molnar <mingo@kernel.org>
Tue, 8 Mar 2016 09:11:17 +0000 (10:11 +0100)
commit4a018cc47932ef1e68a0600ce3ac100df70fab2a
tree008fc6a2459816a7ceca4e8b7b4732be3751a22a
parent570735b33d122bcb259ef67c6aa63e5609af5752
perf jit: Move clockid validation

Move clockid validation into jit_process() so it can later be made
conditional.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1457005856-6143-6-git-send-email-adrian.hunter@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/perf/builtin-inject.c
tools/perf/util/jitdump.c