diff options
Diffstat (limited to 'runtime/docs/html/probes_8c.html')
-rw-r--r-- | runtime/docs/html/probes_8c.html | 114 |
1 files changed, 95 insertions, 19 deletions
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 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> -<title>SystemTap: SystemTap Runtime Library</title> +<title>SystemTap: probes.c File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> -<div class="qindex"><a class="qindex" href="index.html">Intro</a> | <a class="qindex" href="globals_func.html">Functions</a> | <a class="qindex" href="globals_defs.html">Defines</a> | <a class="qindex" href="globals_enum.html">Enumerations</a> | <a class="qindex" href="globals_eval.html">Enumeration Values</a></div> - <!-- Generated by Doxygen 1.4.1 --> -<h1>probes.c File Reference</h1> +<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div> +<h1>probes.c File Reference</h1>Functions to assist loading and unloading groups of probes. <a href="#_details">More...</a> +<p> + <p> <a href="probes_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="probes_8c.html#a1">_stp_unregister_jprobes</a> (struct jprobe *probes, int num_probes)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Unregister a group of jprobes. <a href="#a1"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="probes_8c.html#a2">_stp_register_jprobes</a> (struct jprobe *probes, int num_probes)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Register a group of jprobes. <a href="#a2"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="probes_8c.html#a3">_stp_unregister_kprobes</a> (struct kprobe *probes, int num_probes)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Unregister a group of kprobes. <a href="#a3"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="probes_8c.html#a4">_stp_register_kprobes</a> (struct kprobe *probes, int num_probes)</td></tr> +<tr><td class="mdescLeft"> </td><td class="mdescRight">Register a group of kprobes. <a href="#a4"></a><br></td></tr> +<tr><td colspan="2"><br><h2>Variables</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">static unsigned long(* </td><td class="memItemRight" valign="bottom"><a class="el" href="probes_8c.html#a0">_stp_lookup_name</a> )(char *name) = (void *)KALLSYMS_LOOKUP_NAME</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Lookup name. <a href="#a0"></a><br></td></tr> </table> -<hr><h2>Function Documentation</h2> +<hr><a name="_details"></a><h2>Detailed Description</h2> +Functions to assist loading and unloading groups of probes. +<p> + +<p> +Definition in file <a class="el" href="probes_8c-source.html">probes.c</a>.<hr><h2>Function Documentation</h2> <a class="anchor" name="a2" doxytag="probes.c::_stp_register_jprobes"></a><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> @@ -55,11 +69,20 @@ <td> <p> +Register a group of jprobes. +<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>probes</em> </td><td>Pointer to an array of struct jprobe. </td></tr> + <tr><td valign="top"></td><td valign="top"><em>num_probes</em> </td><td>Number of probes in the array. </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>0 on success. </dd></dl> <p> -Definition at line <a class="el" href="probes_8c-source.html#l00022">22</a> of file <a class="el" href="probes_8c-source.html">probes.c</a>. +Definition at line <a class="el" href="probes_8c-source.html#l00032">32</a> of file <a class="el" href="probes_8c-source.html">probes.c</a>. <p> -References <a class="el" href="probes_8c-source.html#l00014">_stp_unregister_jprobes()</a>, and <a class="el" href="io_8c-source.html#l00011">dlog()</a>. </td> +References <a class="el" href="probes_8c-source.html#l00011">_stp_lookup_name</a>, <a class="el" href="probes_8c-source.html#l00018">_stp_unregister_jprobes()</a>, and <a class="el" href="io_8c-source.html#l00016">dlog()</a>. </td> </tr> </table> <a class="anchor" name="a4" doxytag="probes.c::_stp_register_kprobes"></a><p> @@ -96,11 +119,20 @@ References <a class="el" href="probes_8c-source.html#l00014">_stp_unregister_jpr <td> <p> +Register a group of kprobes. +<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>probes</em> </td><td>Pointer to an array of struct kprobe. </td></tr> + <tr><td valign="top"></td><td valign="top"><em>num_probes</em> </td><td>Number of probes in the array. </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>0 on success. </dd></dl> <p> -Definition at line <a class="el" href="probes_8c-source.html#l00056">56</a> of file <a class="el" href="probes_8c-source.html">probes.c</a>. +Definition at line <a class="el" href="probes_8c-source.html#l00077">77</a> of file <a class="el" href="probes_8c-source.html">probes.c</a>. <p> -References <a class="el" href="probes_8c-source.html#l00048">_stp_unregister_kprobes()</a>, and <a class="el" href="io_8c-source.html#l00011">dlog()</a>. </td> +References <a class="el" href="probes_8c-source.html#l00011">_stp_lookup_name</a>, <a class="el" href="probes_8c-source.html#l00063">_stp_unregister_kprobes()</a>, and <a class="el" href="io_8c-source.html#l00016">dlog()</a>. </td> </tr> </table> <a class="anchor" name="a1" doxytag="probes.c::_stp_unregister_jprobes"></a><p> @@ -137,13 +169,21 @@ References <a class="el" href="probes_8c-source.html#l00048">_stp_unregister_kpr <td> <p> +Unregister a group of jprobes. +<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>probes</em> </td><td>Pointer to an array of struct jprobe. </td></tr> + <tr><td valign="top"></td><td valign="top"><em>num_probes</em> </td><td>Number of probes in the array. </td></tr> + </table> +</dl> <p> -Definition at line <a class="el" href="probes_8c-source.html#l00014">14</a> of file <a class="el" href="probes_8c-source.html">probes.c</a>. +Definition at line <a class="el" href="probes_8c-source.html#l00018">18</a> of file <a class="el" href="probes_8c-source.html">probes.c</a>. <p> -References <a class="el" href="io_8c-source.html#l00011">dlog()</a>. +References <a class="el" href="io_8c-source.html#l00016">dlog()</a>. <p> -Referenced by <a class="el" href="probes_8c-source.html#l00022">_stp_register_jprobes()</a>. </td> +Referenced by <a class="el" href="probes_8c-source.html#l00032">_stp_register_jprobes()</a>. </td> </tr> </table> <a class="anchor" name="a3" doxytag="probes.c::_stp_unregister_kprobes"></a><p> @@ -180,17 +220,53 @@ Referenced by <a class="el" href="probes_8c-source.html#l00022">_stp_register_jp <td> <p> +Unregister a group of kprobes. +<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"></td><td valign="top"><em>probes</em> </td><td>Pointer to an array of struct kprobe. </td></tr> + <tr><td valign="top"></td><td valign="top"><em>num_probes</em> </td><td>Number of probes in the array. </td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="probes_8c-source.html#l00063">63</a> of file <a class="el" href="probes_8c-source.html">probes.c</a>. +<p> +References <a class="el" href="io_8c-source.html#l00016">dlog()</a>. +<p> +Referenced by <a class="el" href="probes_8c-source.html#l00077">_stp_register_kprobes()</a>. </td> + </tr> +</table> +<hr><h2>Variable Documentation</h2> +<a class="anchor" name="a0" doxytag="probes.c::_stp_lookup_name"></a><p> +<table class="mdTable" cellpadding="2" cellspacing="0"> + <tr> + <td class="mdRow"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top">unsigned long(* <a class="el" href="probes_8c.html#a0">_stp_lookup_name</a>)(char *name) = (void *)KALLSYMS_LOOKUP_NAME<code> [static]</code> </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> <p> -Definition at line <a class="el" href="probes_8c-source.html#l00048">48</a> of file <a class="el" href="probes_8c-source.html">probes.c</a>. +Lookup name. +<p> +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. <p> -References <a class="el" href="io_8c-source.html#l00011">dlog()</a>. +Definition at line <a class="el" href="probes_8c-source.html#l00011">11</a> of file <a class="el" href="probes_8c-source.html">probes.c</a>. <p> -Referenced by <a class="el" href="probes_8c-source.html#l00056">_stp_register_kprobes()</a>. </td> +Referenced by <a class="el" href="probes_8c-source.html#l00032">_stp_register_jprobes()</a>, and <a class="el" href="probes_8c-source.html#l00077">_stp_register_kprobes()</a>. </td> </tr> </table> -<hr size="1"><address style="align: right;"><small>Generated on Mon Mar 21 13:29:45 2005 for SystemTap by -<a href="http://www.doxygen.org/index.html"> -<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.1 </small></address> -</body> +<hr size="1"><address style="align: right;"><small> +Generated on Tue Mar 22 10:27:36 2005 for SystemTap.</small></body> </html> |