All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Kyuwon Cho" <kyuwon.cho@skku.edu>
Cc: linux-trace-kernel@vger.kernel.org
Subject: Re: [PATCH] tracing: compare named histogram expressions recursively
Date: Thu, 03 Dec 2026 18:08:46 +0000	[thread overview]
Message-ID: <sashiko-outbox-248342@kernel.org> (raw)
In-Reply-To: <179620737571.2194197.15463715908322121429@skku.edu>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] tracing: inaccurate Fixes trailer in commit message
--

commit 54f83021ecfce9222ba92028269f81a02c8cf55d
Author: Kyuwon Cho <kyuwon.cho@skku.edu>

> tracing: compare named histogram expressions recursively
>
> Named histogram matching checks only the outer hist_field properties.
> Different expressions with compatible wrapper fields can therefore share
> the first trigger expression tree, which can read beyond records of the
> second event.
>
> Compare the complete operand trees before sharing named histogram data.
>
> Fixes: 5463bfda327b ("tracing: Add support for named hist triggers")
> Signed-off-by: Kyuwon Cho <kyuwon.cho@skku.edu>

[Severity: Low]
Is the Fixes: tag pointing to the right commit?  At 5463bfda327b ("tracing:
Add support for named hist triggers"), struct hist_field had neither an
operands[] array nor expression wrapper fields.

Operand arrays for wrapper fields were introduced in 5819eaddf35b ("tracing:
Reimplement log2"), and expression trees were added in 100719dcef44 ("tracing:
Add simple expression support to hist triggers").  Neither updated
hist_trigger_match() to compare operand trees recursively.

Should this cite 100719dcef44 ("tracing: Add simple expression support to hist
triggers") (or 5819eaddf35b ("tracing: Reimplement log2") for operand trees in
general) so stable backport tracking targets the right commit?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/179620737571.2194197.15463715908322121429@skku.edu?part=1

      reply	other threads:[~2026-12-03 18:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 16:56 [PATCH] tracing: compare named histogram expressions recursively Kyuwon Cho
2026-12-03 18:08 ` 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-248342@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=kyuwon.cho@skku.edu \
    --cc=linux-trace-kernel@vger.kernel.org \
    --cc=sashiko-reviews@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.