From: Ingo Molnar Date: Sat, 6 Jun 2009 11:58:12 +0000 (+0200) Subject: perf, x86: Add INSTRUCTION_DECODER config flag X-Git-Tag: v2.6.35-rc1~522^2~213 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba7e4d13fc7e25af1d167d40e6f028298dfc55ad;p=pandora-kernel.git 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 Cc: Masami Hiramatsu Cc: Frederic Weisbecker Cc: Paul Mackerras Cc: Arnaldo Carvalho de Melo LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed