kprobes: Pass the original kprobe for preparing optimized kprobe
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Mon, 5 Jan 2015 11:29:32 +0000 (19:29 +0800)
committerJon Medhurst <tixy@linaro.org>
Tue, 13 Jan 2015 16:10:16 +0000 (16:10 +0000)
commitcbf6ab52add20b845f903decc973afbd5463c527
treeea3dd11ef2a4f68aaf531038127aeee55c38db75
parent8d257e95a9e643518e72232bf852b054a3d06c95
kprobes: Pass the original kprobe for preparing optimized kprobe

Pass the original kprobe for preparing an optimized kprobe arch-dep
part, since for some architecture (e.g. ARM32) requires the information
in original kprobe.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Wang Nan <wangnan0@huawei.com>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
arch/x86/kernel/kprobes/opt.c
include/linux/kprobes.h
kernel/kprobes.c