All of lore.kernel.org
 help / color / mirror / Atom feed
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 v2 1/1] ALSA: virtio: trace control message lifecycles
Date: Sat, 17 Oct 2026 05:52:40 +0000	[thread overview]
Message-ID: <sashiko-outbox-175317@kernel.org> (raw)
In-Reply-To: <rfc-v2-virtio-snd-control-trace-1.60ead383067a41ae@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-v2-virtio-snd-control-trace-0.60ead383067a41ae@gmail.com?part=1


      reply	other threads:[~2026-10-17  5:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-17  5:48 [RFC PATCH v2 0/1] ALSA: virtio: trace control message lifecycles Joonho Lee
2026-10-17  5:48 ` [RFC PATCH v2 1/1] " Joonho Lee
2026-10-17  5:52   ` 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-175317@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.