diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-06-25 12:18:05 +0900 |
---|---|---|
committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-06-25 21:49:43 +0900 |
commit | 001c1ff5dc397bc26a3d1a0da8733c179f39c946 (patch) | |
tree | cb82d6c48805b12ab465f1986f3fb18d5de7c315 /drivers/firewire | |
parent | daf763c2d6d1dc50586e351aca868c7786d3c84e (diff) | |
download | lwn-001c1ff5dc397bc26a3d1a0da8733c179f39c946.tar.gz lwn-001c1ff5dc397bc26a3d1a0da8733c179f39c946.zip |
firewire: ohci: add support for Linux kernel tracepoints
The Linux Kernel Tracepoints framework is enough useful to trace the
interaction between 1394 OHCI hardware and its driver.
This commit adds firewire_ohci subsystem to use the framework. It is
defined as the different subsystem from the existing firewire subsystem.
The definition file for the existing subsystem is slightly changed so that
both subsystems are available in 1394 OHCI driver.
Link: https://lore.kernel.org/r/20240625031806.956650-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'drivers/firewire')
-rw-r--r-- | drivers/firewire/ohci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c index bdb206157118..07adb4ddd444 100644 --- a/drivers/firewire/ohci.c +++ b/drivers/firewire/ohci.c @@ -45,6 +45,9 @@ #include <trace/events/firewire.h> +#define CREATE_TRACE_POINTS +#include <trace/events/firewire_ohci.h> + #define ohci_info(ohci, f, args...) dev_info(ohci->card.device, f, ##args) #define ohci_notice(ohci, f, args...) dev_notice(ohci->card.device, f, ##args) #define ohci_err(ohci, f, args...) dev_err(ohci->card.device, f, ##args) |