]> www.infradead.org Git - users/willy/pagecache.git/commit
firewire: core: record card index in bus_reset_handle tracepoints event
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 13 Jun 2024 13:14:40 +0000 (22:14 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 15 Jun 2024 05:59:26 +0000 (14:59 +0900)
commit893098b2af3ea12bab2f505aa825662b379df67d
tree12737277f39baddf2167bf5d0b9311d9a69c143a
parent7507dbc46b780e9fa2ec3d4db7cd9ce07e722927
firewire: core: record card index in bus_reset_handle tracepoints event

The bus reset event occurs in the bus managed by one of 1394 OHCI
controller in Linux system, however the existing tracepoints events has
the lack of data about it to distinguish the issued hardware from the
others.

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-9-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/core-topology.c
include/trace/events/firewire.h