All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Michal Pluta" <michalpl2003@gmail.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: [PATCH 5/5] perf symbol: Move Rust demangling into its own function
Date: Mon, 28 Sep 2026 01:07:15 +0000	[thread overview]
Message-ID: <20260928010715.EFEA51F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260928010227.1903673-6-michalpl2003@gmail.com>

> dso__demangle_sym() is the only place that implements demangling logic
> inline.  The other three are one call each to a helper.  Move the Rust
> parsing and buffer growth into rust_demangle_sym(), with the same
> signature as the other three.
> 
> A Rust name that fails to demangle now falls through to the other
> demanglers, matching how the other demanglers chain into each other.
> A v0 name can't be misread by any of them, since none accepts its "_R"
> prefix.  A legacy name can only fail here on allocation failure or
> hitting the output bound, neither of which is language-specific.
> 
> Assisted-by: LLM
> Signed-off-by: Michal Pluta <michalpl2003@gmail.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260928010227.1903673-1-michalpl2003@gmail.com?part=5


  reply	other threads:[~2026-09-28  1:07 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-28  1:02 [PATCH 0/5] perf symbol: Speed up demangling of long Rust symbols Michal Pluta
2026-09-28  1:02 ` [PATCH 1/5] perf test demangle: Fail when demangling fails Michal Pluta
2026-09-28  1:07   ` sashiko-bot
2026-09-28 21:31   ` Ian Rogers
2026-09-28  1:02 ` [PATCH 2/5] perf symbol: Don't return an unterminated Rust demangle buffer Michal Pluta
2026-09-28  1:06   ` sashiko-bot
2026-09-28 21:33   ` Ian Rogers
2026-09-30 17:10     ` Arnaldo Carvalho de Melo
2026-09-28  1:02 ` [PATCH 3/5] perf symbol: Grow the Rust demangle buffer geometrically Michal Pluta
2026-09-28  1:08   ` sashiko-bot
2026-09-28 21:43   ` Ian Rogers
2026-10-06 20:06     ` Namhyung Kim
2026-10-09  2:22       ` Michal Pluta
2026-10-09 20:39         ` Ian Rogers
2026-09-28  1:02 ` [PATCH 4/5] perf symbol: Shrink the demangled Rust buffer to fit Michal Pluta
2026-09-28  1:07   ` sashiko-bot
2026-10-06 20:07   ` Namhyung Kim
2026-09-28  1:02 ` [PATCH 5/5] perf symbol: Move Rust demangling into its own function Michal Pluta
2026-09-28  1:07   ` sashiko-bot [this message]
2026-10-06 20:10 ` [PATCH 0/5] perf symbol: Speed up demangling of long Rust symbols Namhyung Kim

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=20260928010715.EFEA51F000FF@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=michalpl2003@gmail.com \
    --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.