Module Name:    src
Committed By:   riastradh
Date:           Sat Apr 29 10:07:06 UTC 2023

Modified Files:
        src/sys/sys: vnode_impl.h

Log Message:
sys/vnode_impl.h: Declare vfs sdt provider.

This way it can be used by more than just vfs_cache.c.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/sys/vnode_impl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/vnode_impl.h
diff -u src/sys/sys/vnode_impl.h:1.25 src/sys/sys/vnode_impl.h:1.26
--- src/sys/sys/vnode_impl.h:1.25	Sat Apr 29 06:28:12 2023
+++ src/sys/sys/vnode_impl.h	Sat Apr 29 10:07:05 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: vnode_impl.h,v 1.25 2023/04/29 06:28:12 riastradh Exp $	*/
+/*	$NetBSD: vnode_impl.h,v 1.26 2023/04/29 10:07:05 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2016, 2019, 2020 The NetBSD Foundation, Inc.
@@ -30,6 +30,7 @@
 #define	_SYS_VNODE_IMPL_H_
 #if defined(_KERNEL) || defined(_KMEMUSER)
 
+#include <sys/sdt.h>
 #include <sys/vnode.h>
 
 struct namecache;
@@ -155,5 +156,7 @@ int	vcache_vget(vnode_t *);
 int	vcache_tryvget(vnode_t *);
 int	vfs_drainvnodes(void);
 
+SDT_PROVIDER_DECLARE(vfs);
+
 #endif	/* defined(_KERNEL) || defined(_KMEMUSER) */
 #endif	/* !_SYS_VNODE_IMPL_H_ */

Reply via email to