diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-03-24 17:14:34 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-03-24 17:14:34 +0000 |
commit | f0f3719742f04a2cccfd5eec65ae3d3c71f9e45a (patch) | |
tree | 49f97de2d87c24e7638d18faec23beda8c9a2320 /lib/libc | |
parent | 55b10f0d2872c423e3891750a4995bc7e6bfdc79 (diff) | |
download | FreeBSD-src-f0f3719742f04a2cccfd5eec65ae3d3c71f9e45a.zip FreeBSD-src-f0f3719742f04a2cccfd5eec65ae3d3c71f9e45a.tar.gz |
Add DTrace probes to the NFS access and attribute caches. Access cache
events are:
nfsclient:accesscache:flush:done
nfsclient:accesscache:get:hit
nfsclient:accesscache:get:miss
nfsclient:accesscache:load:done
They pass the vnode, uid, and requested or loaded access mode (if any);
the load event may also report a load error if the RPC fails.
The attribute cache events are:
nfsclient:attrcache:flush:done
nfsclient:attrcache:get:hit
nfsclient:attrcache:get:miss
nfsclient:attrcache:load:done
They pass the vnode, optionally the vattr if one is present (hit or load),
and in the case of a load event, also a possible RPC error.
MFC after: 1 month
Sponsored by: Google, Inc.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions