Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163391979
D34042.id101931.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
604 B
Referenced Files
None
Subscribers
None
D34042.id101931.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
Thu, Jul 23, 7:23 PM (4 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35412540
Default Alt Text
D34042.id101931.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