Module Name: src
Committed By: riastradh
Date: Sun Dec 19 10:58:18 UTC 2021
Modified Files:
src/sys/external/bsd/drm2/include/linux: tracepoint.h
Log Message:
DECLARE_EVENT_CLASS, DEFINE_EVENT stubs
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/external/bsd/drm2/include/linux/tracepoint.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/external/bsd/drm2/include/linux/tracepoint.h
diff -u src/sys/external/bsd/drm2/include/linux/tracepoint.h:1.2 src/sys/external/bsd/drm2/include/linux/tracepoint.h:1.3
--- src/sys/external/bsd/drm2/include/linux/tracepoint.h:1.2 Sun Dec 19 10:57:56 2021
+++ src/sys/external/bsd/drm2/include/linux/tracepoint.h Sun Dec 19 10:58:17 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: tracepoint.h,v 1.2 2021/12/19 10:57:56 riastradh Exp $ */
+/* $NetBSD: tracepoint.h,v 1.3 2021/12/19 10:58:17 riastradh Exp $ */
/*-
* Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -36,4 +36,10 @@
#define TP_PROTO(ARGS...) (ARGS)
+#define DECLARE_EVENT_CLASS(NAME, PROTOTYPE, ARGS, FIELDS, TRACE, PRINT) \
+ /* nothing */
+
+#define DEFINE_EVENT(CLASS, NAME, PROTOTYPE, ARGS) \
+ static inline void trace_##NAME PROTOTYPE {}
+
#endif /* _LINUX_TRACEPOINT_H_ */