From e94cb46c2219da504a559d49eeda3e4134b96453 Mon Sep 17 00:00:00 2001 From: hunt Date: Tue, 22 Mar 2005 18:36:50 +0000 Subject: *** empty log message *** --- runtime/docs/html/probes_8c.html | 114 ++++++++++++++++++++++++++++++++------- 1 file changed, 95 insertions(+), 19 deletions(-) (limited to 'runtime/docs/html/probes_8c.html') diff --git a/runtime/docs/html/probes_8c.html b/runtime/docs/html/probes_8c.html index 15ceb18c..8a13bb24 100644 --- a/runtime/docs/html/probes_8c.html +++ b/runtime/docs/html/probes_8c.html @@ -1,26 +1,40 @@ -SystemTap: SystemTap Runtime Library +SystemTap: probes.c File Reference -
Intro | Functions | Defines | Enumerations | Enumeration Values
- -

probes.c File Reference

+
Main Page | 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.

Variables

static unsigned long(* _stp_lookup_name )(char *name) = (void *)KALLSYMS_LOOKUP_NAME
 Lookup name.
-


Function Documentation

+

Detailed Description

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

+ +

+Definition in file probes.c.


Function Documentation

@@ -55,11 +69,20 @@ +References _stp_lookup_name, _stp_unregister_jprobes(), and dlog().

+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 22 of file probes.c. +Definition at line 32 of file probes.c.

-References _stp_unregister_jprobes(), and dlog().

@@ -96,11 +119,20 @@ References _stp_unregister_jpr

+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 56 of file probes.c. +Definition at line 77 of file probes.c.

-References _stp_unregister_kprobes(), and dlog(). +References _stp_lookup_name, _stp_unregister_kprobes(), and dlog().

@@ -137,13 +169,21 @@ References _stp_unregister_kpr

+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 14 of file probes.c. +Definition at line 18 of file probes.c.

-References dlog(). +References dlog().

-Referenced by _stp_register_jprobes(). +Referenced by _stp_register_jprobes().

@@ -180,17 +220,53 @@ Referenced by _stp_register_jp

+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(). + + +


Variable Documentation

+

+ + + + +
+ + + + +
unsigned long(* _stp_lookup_name)(char *name) = (void *)KALLSYMS_LOOKUP_NAME [static]
+
+ + + + +Referenced by _stp_register_jprobes(), and _stp_register_kprobes().
+   +

-Definition at line 48 of file probes.c. +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.

-References dlog(). +Definition at line 11 of file probes.c.

-Referenced by _stp_register_kprobes().

-


Generated on Mon Mar 21 13:29:45 2005 for SystemTap by  - -doxygen 1.4.1
- +
+Generated on Tue Mar 22 10:27:36 2005 for SystemTap. -- cgit