Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/include/linux DECLARE_EVENT_CLASS, DEF...
details: https://anonhg.NetBSD.org/src/rev/c5f23927e621
branches: trunk
changeset: 1028406:c5f23927e621
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 10:58:17 2021 +0000
description:
DECLARE_EVENT_CLASS, DEFINE_EVENT stubs
diffstat:
sys/external/bsd/drm2/include/linux/tracepoint.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r f5eb8dfd7161 -r c5f23927e621 sys/external/bsd/drm2/include/linux/tracepoint.h
--- a/sys/external/bsd/drm2/include/linux/tracepoint.h Sun Dec 19 10:58:11 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/tracepoint.h Sun Dec 19 10:58:17 2021 +0000
@@ -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_ */
Home |
Main Index |
Thread Index |
Old Index