summaryrefslogtreecommitdiffstats
path: root/runtime/probes/scf/README
diff options
context:
space:
mode:
authorhunt <hunt>2005-05-31 20:14:03 +0000
committerhunt <hunt>2005-05-31 20:14:03 +0000
commita7b49c5a613f185067ed07f7bfcbb02d14a5ed1f (patch)
treeba94a055804a57c4e1a6d3a629e1a88026933147 /runtime/probes/scf/README
parent9c5d496e200d5476b126bc5ff9806365a77a2c7e (diff)
downloadsystemtap-steved-a7b49c5a613f185067ed07f7bfcbb02d14a5ed1f.tar.gz
systemtap-steved-a7b49c5a613f185067ed07f7bfcbb02d14a5ed1f.tar.xz
systemtap-steved-a7b49c5a613f185067ed07f7bfcbb02d14a5ed1f.zip
New probe.
Diffstat (limited to 'runtime/probes/scf/README')
-rw-r--r--runtime/probes/scf/README12
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/probes/scf/README b/runtime/probes/scf/README
new file mode 100644
index 00000000..39fcfda8
--- /dev/null
+++ b/runtime/probes/scf/README
@@ -0,0 +1,12 @@
+/** @dir scf
+This example probe instruments smp_call_function().
+
+It demonstrates using stack backtraces as map keys to compute the most
+common path to a function.
+
+kernel.function("smp_call_function")
+{
+ traces[stack()] += 1
+}
+
+*/