summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_kdtrace.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix two bugs in DTrace tracing of accesscache and attrcache load events:rwatson2009-03-241-2/+1
| | | | | | | | | | | - Trace non-error loads into the access cache once, not zero times or twice. - Sometimes attr cache loads fail due to a race, in which case they are aborted leading to an invalidation; in this case, trace only the flush, not a load. MFC after: 1 month Sponsored by: Google, Inc.
* Add DTrace probes to the NFS access and attribute caches. Access cacherwatson2009-03-241-0/+121
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.
OpenPOWER on IntegriCloud