]> www.infradead.org Git - users/jedix/linux-maple.git/commit
firewire: core: add tracepoints event for self_id_sequence
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 5 Jun 2024 23:51:55 +0000 (08:51 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 16 Jun 2024 23:37:03 +0000 (08:37 +0900)
commit677ceae190732ee844f940d1e4860af4022d2be3
tree1a9af11d8cf3712f3e4b6f24f2011e6e7893b13b
parent1ccfd1a4c809d99891142c1bb9851daa42e40f0d
firewire: core: add tracepoints event for self_id_sequence

It is helpful to trace the content of self ID sequence when the core
function building bus topology.

This commit adds a tracepoints event fot the purpose. It seems not to
achieve printing variable length of array in print time without any
storage, thus the structure of event includes a superfluous array to store
the state of port. Additionally, there is no helper function to print
symbol array, thus the state of port is printed as raw value.

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