1 2 3 4 5 6 7 8 9 10 11 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 } */