kprobes: Simplify register_jprobes()
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Fri, 7 Jul 2017 17:07:25 +0000 (22:37 +0530)
committerIngo Molnar <mingo@kernel.org>
Sat, 8 Jul 2017 09:05:34 +0000 (11:05 +0200)
commit0f73ff80b751b39ff539a550e65c5bd131ff0316
tree0497a4f43c3c6eb3d51afa4026524eb1b73db946
parent659b957f20c78fd470083c80af5e79eedfb39e5b
kprobes: Simplify register_jprobes()

Re-factor jprobe registration functions as the current version is
getting too unwieldy. Move the actual jprobe registration to
register_jprobe() and re-organize code accordingly.

Suggested-by: Ingo Molnar <mingo@kernel.org>
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/089cae4bfe73767f765291ee0e6fb0c3d240e5f1.1499443367.git.naveen.n.rao@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/kprobes.c