diff options
Diffstat (limited to 'runtime/docs/html/probes_2test4_2README-source.html')
-rw-r--r-- | runtime/docs/html/probes_2test4_2README-source.html | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/runtime/docs/html/probes_2test4_2README-source.html b/runtime/docs/html/probes_2test4_2README-source.html deleted file mode 100644 index 20ebcf80..00000000 --- a/runtime/docs/html/probes_2test4_2README-source.html +++ /dev/null @@ -1,34 +0,0 @@ -<!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: probes/test4/README Source File</title> -<link href="doxygen.css" rel="stylesheet" type="text/css"> -</head><body> -<!-- Generated by Doxygen 1.4.1 --> -<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div> -<div class="nav"> -<a class="el" href="dir_000000.html">probes</a> / <a class="el" href="dir_000003.html">test4</a></div> -<h1>README</h1><div class="fragment"><pre class="fragment">00001 <span class="comment">/** @dir test4</span> -00002 <span class="comment">This example probe tracks file opens, reads and writes.</span> -00003 <span class="comment">It demonstrates maps, stats, and iterators.</span> -00004 <span class="comment"></span> -00005 <span class="comment">This is a translation of on an old dtr probe. Original source is</span> -00006 <span class="comment">\verbatim</span> -00007 <span class="comment">global {</span> -00008 <span class="comment"> long @opens[string];</span> -00009 <span class="comment"> sum @reads[string], @writes[string];</span> -00010 <span class="comment">}</span> -00011 <span class="comment"></span> -00012 <span class="comment">probe sys_open:entry {</span> -00013 <span class="comment"> @opens[current->comm]++;</span> -00014 <span class="comment">}</span> -00015 <span class="comment"></span> -00016 <span class="comment">probe sys_read:entry {</span> -00017 <span class="comment"> @reads[current->comm] << count;</span> -00018 <span class="comment">}</span> -00019 <span class="comment"></span> -00020 <span class="comment">probe sys_write:entry {</span> -00021 <span class="comment"> @writes[current->comm] << count;</span> -00022 <span class="comment">}</span> -00023 <span class="comment">\endverbatim</span> -00024 <span class="comment">*/</span> -</pre></div></body></html> |