From a7b49c5a613f185067ed07f7bfcbb02d14a5ed1f Mon Sep 17 00:00:00 2001 From: hunt Date: Tue, 31 May 2005 20:14:03 +0000 Subject: New probe. --- runtime/probes/scf/README | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 runtime/probes/scf/README (limited to 'runtime/probes/scf/README') 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 +} + +*/ -- cgit