kprobes: Ensure that jprobe probepoints are at function entry
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Fri, 7 Jul 2017 17:07:26 +0000 (22:37 +0530)
committerIngo Molnar <mingo@kernel.org>
Sat, 8 Jul 2017 09:05:35 +0000 (11:05 +0200)
commitdbf580623d5fee785218d1a47a2bcdf36d85c0e9
tree9aab0861ecd7bcb74af595243f19b27057866123
parent0f73ff80b751b39ff539a550e65c5bd131ff0316
kprobes: Ensure that jprobe probepoints are at function entry

Similar to commit 90ec5e89e393c ("kretprobes: Ensure probe location is
at function entry"), ensure that the jprobe probepoint is at function
entry.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Cc: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/a4525af6c5a42df385efa31251246cf7cca73598.1499443367.git.naveen.n.rao@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/kprobes.c