summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-01-24 10:22:49 +0000
committerrwatson <rwatson@FreeBSD.org>2009-01-24 10:22:49 +0000
commitaaaff3620bd78568076acb0874f8d89e7e1a348f (patch)
treea06debcfcfe8da7484226ed820d7b5fc2996196e /sys/security
parent855f844ab0842191f1bd8baf7f493344bd4af8ea (diff)
downloadFreeBSD-src-aaaff3620bd78568076acb0874f8d89e7e1a348f.zip
FreeBSD-src-aaaff3620bd78568076acb0874f8d89e7e1a348f.tar.gz
Add explicit static DTrace tracing to the callout mechanism, capturing
pointers to the callout handler just before and just after the callout it invoked. I attempted to do this in a manner congruent to tracing in Solaris's callout mechanism, but couldn't quite use the same names due to convention and syntax differences. Example DTrace script to generate a distribution graph of callout execution times: callout_execute:::callout_start { self->cstart = timestamp; } callout_execute:::callout_end { @length = quantize(timestamp - self->cstart); } Reviewed by: jb MFC after: 3 days
Diffstat (limited to 'sys/security')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud