Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145783291
D34042.1778502106.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
604 B
Referenced Files
None
Subscribers
None
D34042.1778502106.diff
View Options
Index: sys/sys/sdt.h
===================================================================
--- sys/sys/sdt.h
+++ sys/sys/sdt.h
@@ -33,7 +33,7 @@
#ifndef _SYS_SDT_H
#define _SYS_SDT_H
-#ifndef _KERNEL
+#if !defined(_KERNEL) && !defined(_KERNEL_UT)
#define _DTRACE_VERSION 1
@@ -77,7 +77,7 @@
(unsigned long)arg4, (unsigned long)arg5); \
}
-#else /* _KERNEL */
+#else /* _KERNEL || _KERNEL_UT */
#include <sys/cdefs.h>
#include <sys/linker_set.h>
@@ -429,6 +429,6 @@
SDT_PROVIDER_DECLARE(sdt);
-#endif /* _KERNEL */
+#endif /* _KERNEL || _KERNEL_UT */
#endif /* _SYS_SDT_H */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, May 11, 12:21 PM (7 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28679070
Default Alt Text
D34042.1778502106.diff (604 B)
Attached To
Mode
D34042: Expose <sys/sdt.h> kernel decls to sysunit tests
Attached
Detach File
Event Timeline
Log In to Comment