diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-06-24 07:08:55 +0900 |
---|---|---|
committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-06-25 07:31:38 +0900 |
commit | c0b0ce6c47903ed2b9028933793801b3b4e72ca1 (patch) | |
tree | 8b6fb874de04c8b6aedf64fb92de30479ede8297 /drivers/firewire | |
parent | 4e64210f67126e77d54ffcd3297a87539b858322 (diff) | |
download | linux-stable-c0b0ce6c47903ed2b9028933793801b3b4e72ca1.tar.gz linux-stable-c0b0ce6c47903ed2b9028933793801b3b4e72ca1.tar.bz2 linux-stable-c0b0ce6c47903ed2b9028933793801b3b4e72ca1.zip |
firewire: core: add tracepoints events for flushing of isochronous context
It is helpful to trace the flushing of isochronous context when the core
function is requested them by both in-kernel unit drivers and userspace
applications.
This commit adds some tracepoints events for the aim.
Link: https://lore.kernel.org/r/20240623220859.851685-5-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'drivers/firewire')
-rw-r--r-- | drivers/firewire/core-iso.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/firewire/core-iso.c b/drivers/firewire/core-iso.c index 49feb4c28224..5bad23fcce0c 100644 --- a/drivers/firewire/core-iso.c +++ b/drivers/firewire/core-iso.c @@ -197,6 +197,10 @@ EXPORT_SYMBOL(fw_iso_context_queue); void fw_iso_context_queue_flush(struct fw_iso_context *ctx) { + trace_isoc_outbound_flush(ctx); + trace_isoc_inbound_single_flush(ctx); + trace_isoc_inbound_multiple_flush(ctx); + ctx->card->driver->flush_queue_iso(ctx); } EXPORT_SYMBOL(fw_iso_context_queue_flush); |