aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/kprobes.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/kprobes.txt')
-rw-r--r--Documentation/kprobes.txt16
1 files changed, 10 insertions, 6 deletions
diff --git a/Documentation/kprobes.txt b/Documentation/kprobes.txt
index f609af242d6..1e7a769a10f 100644
--- a/Documentation/kprobes.txt
+++ b/Documentation/kprobes.txt
@@ -365,21 +365,25 @@ probes) in the specified array, they clear the addr field of those
365incorrect probes. However, other probes in the array are 365incorrect probes. However, other probes in the array are
366unregistered correctly. 366unregistered correctly.
367 367
3684.7 disable_kprobe 3684.7 disable_*probe
369 369
370#include <linux/kprobes.h> 370#include <linux/kprobes.h>
371int disable_kprobe(struct kprobe *kp); 371int disable_kprobe(struct kprobe *kp);
372int disable_kretprobe(struct kretprobe *rp);
373int disable_jprobe(struct jprobe *jp);
372 374
373Temporarily disables the specified kprobe. You can enable it again by using 375Temporarily disables the specified *probe. You can enable it again by using
374enable_kprobe(). You must specify the kprobe which has been registered. 376enable_*probe(). You must specify the probe which has been registered.
375 377
3764.8 enable_kprobe 3784.8 enable_*probe
377 379
378#include <linux/kprobes.h> 380#include <linux/kprobes.h>
379int enable_kprobe(struct kprobe *kp); 381int enable_kprobe(struct kprobe *kp);
382int enable_kretprobe(struct kretprobe *rp);
383int enable_jprobe(struct jprobe *jp);
380 384
381Enables kprobe which has been disabled by disable_kprobe(). You must specify 385Enables *probe which has been disabled by disable_*probe(). You must specify
382the kprobe which has been registered. 386the probe which has been registered.
383 387
3845. Kprobes Features and Limitations 3885. Kprobes Features and Limitations
385 389