freebsd-dev/sys/cddl/dev
Robert Watson 10263f0832 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.
2009-03-24 17:14:34 +00:00
..
cyclic Remove unused variable. 2008-11-25 19:25:54 +00:00
dtmalloc
dtnfsclient Add DTrace probes to the NFS access and attribute caches. Access cache 2009-03-24 17:14:34 +00:00
dtrace Remove unused variable. 2008-11-25 19:25:54 +00:00
fbt
profile
sdt
systrace Merge latest DTrace changes from Perforce. 2008-11-05 19:39:11 +00:00
prototype.c