diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-06-14 09:42:51 +0900 |
---|---|---|
committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-06-17 08:37:04 +0900 |
commit | 2fd22faf0e9f120c39e6f47e5622b0039bb10817 (patch) | |
tree | 27b34544792393f1327cbeb66134a4b0922c5074 /drivers/firewire | |
parent | 67e51784c1974e0db8457ef5bcc179b9511bce22 (diff) | |
download | lwn-2fd22faf0e9f120c39e6f47e5622b0039bb10817.tar.gz lwn-2fd22faf0e9f120c39e6f47e5622b0039bb10817.zip |
firewire: core: record card index in tracepoints event for self ID sequence
This patch is for for-next branch.
The selfIDComplete event occurs in the bus managed by one of 1394 OHCI
controller in Linux system, while 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/20240614004251.460649-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'drivers/firewire')
-rw-r--r-- | drivers/firewire/core-topology.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/core-topology.c b/drivers/firewire/core-topology.c index 04e24d14e031..b4e637aa6932 100644 --- a/drivers/firewire/core-topology.c +++ b/drivers/firewire/core-topology.c @@ -140,7 +140,7 @@ static struct fw_node *build_tree(struct fw_card *card, const u32 *sid, int self } port_capacity = self_id_sequence_get_port_capacity(quadlet_count); - trace_self_id_sequence(self_id_sequence, quadlet_count, generation); + trace_self_id_sequence(card->index, self_id_sequence, quadlet_count, generation); for (port_index = 0; port_index < port_capacity; ++port_index) { port_status = self_id_sequence_get_port_status(self_id_sequence, quadlet_count, |