diff options
author | hunt <hunt> | 2005-05-31 20:14:03 +0000 |
---|---|---|
committer | hunt <hunt> | 2005-05-31 20:14:03 +0000 |
commit | a7b49c5a613f185067ed07f7bfcbb02d14a5ed1f (patch) | |
tree | ba94a055804a57c4e1a6d3a629e1a88026933147 /runtime/probes/scf/README | |
parent | 9c5d496e200d5476b126bc5ff9806365a77a2c7e (diff) | |
download | systemtap-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/README | 12 |
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 +} + +*/ |