Go to the source code of this file.
Functions | |
void | _stp_unregister_jprobes (struct jprobe *probes, int num_probes) |
Unregister a group of jprobes. | |
int | _stp_register_jprobes (struct jprobe *probes, int num_probes) |
Register a group of jprobes. | |
void | _stp_unregister_kprobes (struct kprobe *probes, int num_probes) |
Unregister a group of kprobes. | |
int | _stp_register_kprobes (struct kprobe *probes, int num_probes) |
Register a group of kprobes. | |
Variables | |
static unsigned long(* | _stp_lookup_name )(char *name) = (void *)KALLSYMS_LOOKUP_NAME |
Lookup name. |
Definition in file probes.c.
|
Register a group of jprobes.
Definition at line 32 of file probes.c. References _stp_lookup_name, _stp_unregister_jprobes(), and dlog(). |
|
Register a group of kprobes.
Definition at line 77 of file probes.c. References _stp_lookup_name, _stp_unregister_kprobes(), and dlog(). |
|
Unregister a group of jprobes.
Definition at line 18 of file probes.c. References dlog(). Referenced by _stp_register_jprobes(). |
|
Unregister a group of kprobes.
Definition at line 63 of file probes.c. References dlog(). Referenced by _stp_register_kprobes(). |
|
Lookup name. This simply calls the kernel function kallsyms_lookup_name(). That function is not exported, so this workaround is required. See the kernel source, kernel/kallsyms.c for more information. Definition at line 11 of file probes.c. Referenced by _stp_register_jprobes(), and _stp_register_kprobes(). |