[PATCH 0/2] firewire: ohci: add support for tracepoints events

Takashi Sakamoto posted 2 patches 1 year, 5 months ago
drivers/firewire/ohci.c              |  4 +++
include/trace/events/firewire.h      |  1 +
include/trace/events/firewire_ohci.h | 47 ++++++++++++++++++++++++++++
3 files changed, 52 insertions(+)
create mode 100644 include/trace/events/firewire_ohci.h
[PATCH 0/2] firewire: ohci: add support for tracepoints events
Posted by Takashi Sakamoto 1 year, 5 months ago
Hi,

1394 OHCI hardware triggers PCI interrupts to notify any events to
software. Current driver for the hardware is programmed by the typical
way to utilize top- and bottom- halves, thus it has a timing gap to handle
the notification in softIRQ (tasklet). The Linux Kernel Tracepoints
framework is enough useful to trace the interaction between 1394 OHCI
hardware and its driver.

This series of changes adds support for tracepoints events to the
driver, and adds an event, 'irqs', so that comparison of the event and
any event in firewire subsystem is helpful to diagnose the timing gap.

Takashi Sakamoto (2):
  firewire: ohci: add support for Linux kernel tracepoints
  firewire: ohci: add tracepoints event for hardIRQ event

 drivers/firewire/ohci.c              |  4 +++
 include/trace/events/firewire.h      |  1 +
 include/trace/events/firewire_ohci.h | 47 ++++++++++++++++++++++++++++
 3 files changed, 52 insertions(+)
 create mode 100644 include/trace/events/firewire_ohci.h

-- 
2.43.0
Re: [PATCH 0/2] firewire: ohci: add support for tracepoints events
Posted by Takashi Sakamoto 1 year, 5 months ago
On Tue, Jun 25, 2024 at 12:18:04PM +0900, Takashi Sakamoto wrote:
> Hi,
> 
> 1394 OHCI hardware triggers PCI interrupts to notify any events to
> software. Current driver for the hardware is programmed by the typical
> way to utilize top- and bottom- halves, thus it has a timing gap to handle
> the notification in softIRQ (tasklet). The Linux Kernel Tracepoints
> framework is enough useful to trace the interaction between 1394 OHCI
> hardware and its driver.
> 
> This series of changes adds support for tracepoints events to the
> driver, and adds an event, 'irqs', so that comparison of the event and
> any event in firewire subsystem is helpful to diagnose the timing gap.
> 
> Takashi Sakamoto (2):
>   firewire: ohci: add support for Linux kernel tracepoints
>   firewire: ohci: add tracepoints event for hardIRQ event
> 
>  drivers/firewire/ohci.c              |  4 +++
>  include/trace/events/firewire.h      |  1 +
>  include/trace/events/firewire_ohci.h | 47 ++++++++++++++++++++++++++++
>  3 files changed, 52 insertions(+)
>  create mode 100644 include/trace/events/firewire_ohci.h

Applied to for-next branch.


Regards

Takashi Sakamoto