Date: Tue, 26 Nov 2013 20:27:57 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r258666 - head/sys/fs/nfsclient Message-ID: <201311262027.rAQKRvYi024879@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Tue Nov 26 20:27:57 2013 New Revision: 258666 URL: http://svnweb.freebsd.org/changeset/base/258666 Log: Fix build, attempt two. Modified: head/sys/fs/nfsclient/nfs_kdtrace.h Modified: head/sys/fs/nfsclient/nfs_kdtrace.h ============================================================================== --- head/sys/fs/nfsclient/nfs_kdtrace.h Tue Nov 26 20:09:43 2013 (r258665) +++ head/sys/fs/nfsclient/nfs_kdtrace.h Tue Nov 26 20:27:57 2013 (r258666) @@ -32,9 +32,6 @@ #ifndef _NFSCL_NFS_KDTRACE_H_ #define _NFSCL_NFS_KDTRACE_H_ -#ifdef KDTRACE_HOOKS -#include <sys/dtrace_bsd.h> - /* * Definitions for NFS access cache probes. */ @@ -42,6 +39,16 @@ extern uint32_t nfscl_accesscache_flush_ extern uint32_t nfscl_accesscache_get_hit_id; extern uint32_t nfscl_accesscache_get_miss_id; extern uint32_t nfscl_accesscache_load_done_id; +/* + * Definitions for NFS attribute cache probes. + */ +extern uint32_t nfscl_attrcache_flush_done_id; +extern uint32_t nfscl_attrcache_get_hit_id; +extern uint32_t nfscl_attrcache_get_miss_id; +extern uint32_t nfscl_attrcache_load_done_id; + +#ifdef KDTRACE_HOOKS +#include <sys/dtrace_bsd.h> #define KDTRACE_NFS_ACCESSCACHE_FLUSH_DONE(vp) do { \ if (dtrace_nfscl_accesscache_flush_done_probe != NULL) \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311262027.rAQKRvYi024879>