Re: [tip:perf/core] x86/kprobes: Fix to recover instructions onoptimized path

From: Ingo Molnar
Date: Wed Feb 22 2012 - 11:22:46 EST



* tip-bot for Masami Hiramatsu <masami.hiramatsu.pt@xxxxxxxxxxx> wrote:

> Commit-ID: f5dbbb8e1e055d6f02817a1995993b461910b1b7
> Gitweb: http://git.kernel.org/tip/f5dbbb8e1e055d6f02817a1995993b461910b1b7
> Author: Masami Hiramatsu <masami.hiramatsu.pt@xxxxxxxxxxx>
> AuthorDate: Tue, 21 Feb 2012 17:36:21 +0900
> Committer: Ingo Molnar <mingo@xxxxxxx>
> CommitDate: Wed, 22 Feb 2012 11:31:34 +0100
>
> x86/kprobes: Fix to recover instructions on optimized path

Does not build on x86 if CONFIG_OPTPROBES is off:

arch/x86/kernel/kprobes.c:260:8: error: dereferencing pointer to incomplete type
arch/x86/kernel/kprobes.c:260:8: error: invalid use of undefined type âstruct optimized_kprobeâ
arch/x86/kernel/kprobes.c:262:22: error: dereferencing pointer to incomplete type
arch/x86/kernel/kprobes.c:264:18: error: dereferencing pointer to incomplete type

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/