diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-06-24 07:08:57 +0900 |
---|---|---|
committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-06-25 07:31:38 +0900 |
commit | 1f3c0d794df6d85834a0664db3658c422ec5c8d8 (patch) | |
tree | bdc11fcc859e122899333ce171c5308ce2fd38f2 /drivers/firewire | |
parent | 8320b63e028f62542942941b51951006403d8b4f (diff) | |
download | lwn-1f3c0d794df6d85834a0664db3658c422ec5c8d8.tar.gz lwn-1f3c0d794df6d85834a0664db3658c422ec5c8d8.zip |
firewire: core: add tracepoints events for queueing packets of isochronous context
It is helpful to trace the queueing packets 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-7-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 93ca0dec1805..b3eda38a36f3 100644 --- a/drivers/firewire/core-iso.c +++ b/drivers/firewire/core-iso.c @@ -191,6 +191,10 @@ int fw_iso_context_queue(struct fw_iso_context *ctx, struct fw_iso_buffer *buffer, unsigned long payload) { + trace_isoc_outbound_queue(ctx, payload, packet); + trace_isoc_inbound_single_queue(ctx, payload, packet); + trace_isoc_inbound_multiple_queue(ctx, payload, packet); + return ctx->card->driver->queue_iso(ctx, packet, buffer, payload); } EXPORT_SYMBOL(fw_iso_context_queue); |