diff options
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 +} + +*/ |