Commit [c06148] Maximize Restore History

kprobes: Move enable/disable_kprobe() out from debugfs code

Move enable/disable_kprobe() API out from debugfs related code,
because these interfaces are not related to debugfs interface.

This fixes a compiler warning.

Signed-off-by: Masami Hiramatsu <>
Acked-by: Ananth N Mavinakayanahalli <>
Acked-by: Tony Luck <>
Cc: systemtap <>
Cc: DLE <>
LKML-Reference: <20100427223312.2322.60512.stgit@localhost6.localdomain6>
Signed-off-by: Ingo Molnar <>

Masami Hiramatsu Masami Hiramatsu 2010-04-27

Ingo Molnar Ingo Molnar 2010-05-08

changed kernel
changed kernel/kprobes.c
kernel/kprobes.c Diff Switch to side-by-side view