• Ingo Molnar's avatar
    perf, x86: Add INSTRUCTION_DECODER config flag · ba7e4d13
    Ingo Molnar authored
    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: default avatarIngo Molnar <mingo@elte.hu>
    ba7e4d13
Makefile 1.3 KB