firewire: core: record card index in async_phy_outbound_complete tracepoints event
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 13 Jun 2024 13:14:37 +0000 (22:14 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 15 Jun 2024 05:59:17 +0000 (14:59 +0900)
commit810f2aa83563020d834425018303f2aaecef1e6e
tree64eecd920d7e96c3d403e47962c145ba2de9509f
parent3cb44a72a39835b368ab78d739819330089aa2bf
firewire: core: record card index in async_phy_outbound_complete tracepoints event

The asynchronous transmission of phy packet is initiated on one of 1394
OHCI controller, however the existing tracepoints events has the lack of
data about it.

This commit adds card_index member into event structure to store the index
of host controller in use, and prints it.

Link: https://lore.kernel.org/r/20240613131440.431766-6-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/core-cdev.c
drivers/firewire/core-transaction.c
include/trace/events/firewire.h