Debian Codegraph @

EXAMPLES/profiling/fntimes.meta

raw
1 title: Show Functions Taking Longer Than Usual
2 name: fntimes.stp
3 keywords: _best profiling
4 exit: user-controlled
5 description: The fntimes.stp script monitors the execution time history of a given function family (assumed non-recursive). Each time (beyond a warmup interval) is then compared to the historical maximum. If it exceeds a certain threshold (250%), a message is printed.
6 test_check: stap -p4 fntimes.stp 'kernel.function("sys_*")'
7 test_installcheck: stap fntimes.stp 'kernel.function("sys_*")' -T 7