Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109375920
D40288.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
521 B
Referenced Files
None
Subscribers
None
D40288.diff
View Options
diff --git a/sys/sys/pmc.h b/sys/sys/pmc.h
--- a/sys/sys/pmc.h
+++ b/sys/sys/pmc.h
@@ -1071,6 +1071,8 @@
#if defined(HWPMC_DEBUG)
#include <sys/ktr.h>
+#define __pmcdbg_used /* unused variable annotation */
+
/* debug flags, major flag groups */
struct pmc_debugflags {
int pdb_CPU;
@@ -1187,6 +1189,7 @@
#define PMC_DEBUG_MIN_CLO 12 /* close */
#else
+#define __pmcdbg_used __unused
#define PMCDBG0(M, N, L, F) /* nothing */
#define PMCDBG1(M, N, L, F, p1)
#define PMCDBG2(M, N, L, F, p1, p2)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 5, 6:21 AM (21 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16468831
Default Alt Text
D40288.diff (521 B)
Attached To
Mode
D40288: hpwmc: add __pmcdbg_used annotation
Attached
Detach File
Event Timeline
Log In to Comment