aboutsummaryrefslogtreecommitdiff
path: root/secure
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2009-01-24 10:22:49 +0000
committerRobert Watson <rwatson@FreeBSD.org>2009-01-24 10:22:49 +0000
commit91dd9aae1ab8b3c6b9c21d9c28d711dc665f75c7 (patch)
treea06debcfcfe8da7484226ed820d7b5fc2996196e /secure
parentcff548f0dd9fc0a042b8bbba6600bca5a5e5033b (diff)
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
Notes
svn path=/head/; revision=187664
Diffstat (limited to 'secure')
0 files changed, 0 insertions, 0 deletions