Date: Fri, 5 Jul 2002 20:46:36 -0700 (PDT) From: Jeff Roberson <jeff@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/tools vnode_if.awk Message-ID: <200207060346.g663kaAo068661@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2002/07/05 20:46:36 PDT Modified files: sys/tools vnode_if.awk Log: Add a new configuration directive that inserts calls to debugging functions in the VOP inlines. This is intended to replace the simple locking specifications for calls that have more complicated behavior such as rename and lookup. The syntax of the new entries is: #! name pre/post function If the function is marked 'pre' it is executed prior to calling the VOP and takes a pointer to a struct vop_{name}_args as it's only parameter. If the function is marked 'post' it is executed after the VOP call and takes a pointer to a struct vop_{name}_args as it's first parameter and the integer return value from the vop as the second paramter. Revision Changes Path 1.32 +28 -1 src/sys/tools/vnode_if.awk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207060346.g663kaAo068661>