Main Page | Modules | Data Structures | Directories | File List | Data Fields | 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 32 of file probes.c.

References _stp_unregister_jprobes(), and dlog().

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 77 of file probes.c.

References _stp_unregister_kprobes(), and dlog().

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 18 of file probes.c.

References dlog().

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 63 of file probes.c.

References dlog().

Referenced by _stp_register_kprobes().