aboutsummaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorGravatar Takashi Sakamoto <o-takashi@sakamocchi.jp> 2024-04-29 13:32:14 +0900
committerGravatar Takashi Sakamoto <o-takashi@sakamocchi.jp> 2024-05-06 11:06:05 +0900
commit57614c28843d4ec34c12ca67dd11411396aab55d (patch)
tree53d401ed2e9956612d4686a29d1ce4bcafdda275 /include/trace
parentfirewire: core: replace local macros with common inline functions for isochro... (diff)
downloadlinux-57614c28843d4ec34c12ca67dd11411396aab55d.tar.gz
linux-57614c28843d4ec34c12ca67dd11411396aab55d.tar.bz2
linux-57614c28843d4ec34c12ca67dd11411396aab55d.zip
firewire: core: add support for Linux kernel tracepoints
The Linux Kernel Tracepoints framework is enough useful to trace packet data inbound to and outbound from core. This commit adds firewire subsystem to use the framework. Link: https://lore.kernel.org/r/20240429043218.609398-2-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/firewire.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/trace/events/firewire.h b/include/trace/events/firewire.h
new file mode 100644
index 000000000000..bc55eaabf695
--- /dev/null
+++ b/include/trace/events/firewire.h
@@ -0,0 +1,15 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+// Copyright (c) 2024 Takashi Sakamoto
+
+#define TRACE_SYSTEM firewire
+
+#if !defined(_FIREWIRE_TRACE_EVENT_H) || defined(TRACE_HEADER_MULTI_READ)
+#define _FIREWIRE_TRACE_EVENT_H
+
+#include <linux/tracepoint.h>
+
+// Placeholder for future use.
+
+#endif // _FIREWIRE_TRACE_EVENT_H
+
+#include <trace/define_trace.h>