Main Page | Modules | Directories | File List | Globals | Related Pages

probes.c File Reference

Functions to assist loading and unloading groups of probes. More...

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.


Detailed Description

Functions to assist loading and unloading groups of probes.

Definition in file probes.c.


Function Documentation

int _stp_register_jprobes struct jprobe *  probes,
int  num_probes
 

Register a group of jprobes.

Parameters:
probes Pointer to an array of struct jprobe.
num_probes Number of probes in the array.
Returns:
0 on success.

Definition at line 34 of file probes.c.

References _stp_log(), and _stp_unregister_jprobes().

int _stp_register_kprobes struct kprobe *  probes,
int  num_probes
 

Register a group of kprobes.

Parameters:
probes Pointer to an array of struct kprobe.
num_probes Number of probes in the array.
Returns:
0 on success.

Definition at line 79 of file probes.c.

References _stp_log(), and _stp_unregister_kprobes().

void _stp_unregister_jprobes struct jprobe *  probes,
int  num_probes
 

Unregister a group of jprobes.

Parameters:
probes Pointer to an array of struct jprobe.
num_probes Number of probes in the array.

Definition at line 20 of file probes.c.

References _stp_log().

Referenced by _stp_register_jprobes().

void _stp_unregister_kprobes struct kprobe *  probes,
int  num_probes
 

Unregister a group of kprobes.

Parameters:
probes Pointer to an array of struct kprobe.
num_probes Number of probes in the array.

Definition at line 65 of file probes.c.

References _stp_log().

Referenced by _stp_register_kprobes().