From: sashiko-bot@kernel.org
To: "Joonho Lee" <mynameisjune111@gmail.com>
Cc: virtualization@lists.linux.dev,
"Michael S. Tsirkin" <mst@redhat.com>,
"Eugenio Perez" <eperezma@redhat.com>
Subject: Re: [RFC PATCH 1/1] ALSA: virtio: trace control message lifecycles
Date: Sat, 17 Oct 2026 05:20:38 +0000 [thread overview]
Message-ID: <sashiko-outbox-175304@kernel.org> (raw)
In-Reply-To: <rfc-virtio-snd-control-trace-1.208f05ae8ea44e77@gmail.com>
> A timed-out control request can complete later or be canceled during
> teardown. The existing opcode-only timeout message does not identify the
> request or show when the queue gives it back, which makes it difficult to
> correlate control stalls with guest scheduling and device reset activity.
>
> Add a virtio_snd_ctl_msg trace event with a per-send identifier and phases
> for enqueue, response, cancellation and the sender's wait outcome. Record
> PCM stream IDs where the request layout supplies one, the enqueue or wait
> result, and the device's used length and response status. Mark optional
> fields explicitly and check the writable response capacity before reading
> a status for the event.
>
> Assign IDs only to requests sent while the event is enabled. Keep sender
> wait outcomes separate from queue completion so a timeout followed by a
> late response retains the same ID. Include neither audio data nor kernel
> addresses in the event.
>
> Leave protocol results, request ownership and timeout handling unchanged.
> The added fields increase each control-message structure by 24 bytes on
> the tested ARM64 configurations, including when tracing is disabled. No
> events are added to PCM data completions.
>
> Assisted-by: LLM
> Signed-off-by: Joonho Lee <mynameisjune111@gmail.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/rfc-virtio-snd-control-trace-0.208f05ae8ea44e77@gmail.com?part=1
prev parent reply other threads:[~2026-10-17 5:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-17 5:15 [RFC PATCH 0/1] ALSA: virtio: trace control message lifecycles Joonho Lee
2026-10-17 5:15 ` [RFC PATCH 1/1] " Joonho Lee
2026-10-17 5:20 ` sashiko-bot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-175304@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=eperezma@redhat.com \
--cc=mst@redhat.com \
--cc=mynameisjune111@gmail.com \
--cc=sashiko-reviews@lists.linux.dev \
--cc=virtualization@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox