perf, x86: Add INSTRUCTION_DECODER config flag
authorIngo Molnar <mingo@elte.hu>
Sat, 6 Jun 2009 11:58:12 +0000 (13:58 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 10 Mar 2010 12:34:12 +0000 (13:34 +0100)
commitba7e4d13fc7e25af1d167d40e6f028298dfc55ad
tree2256022da50cf87b601a43f718d39b4dbcc482c8
parent63fb3f9b2312e131be5a0a2dddb63f2fb123db9b
perf, x86: Add INSTRUCTION_DECODER config flag

The PEBS+LBR decoding magic needs the insn_get_length() infrastructure
to be able to decode x86 instruction length.

So split it out of KPROBES dependency and make it enabled when either
KPROBES or PERF_EVENTS is enabled.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Masami Hiramatsu <mhiramat@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/Kconfig
arch/x86/lib/Makefile