Linux Perf Users
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Jens Remus" <jremus@linux.ibm.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: [PATCH 2/5] perf python: Export inlined symbol flag in DB export scripts
Date: Fri, 04 Dec 2026 16:59:00 +0000	[thread overview]
Message-ID: <sashiko-outbox-250251@kernel.org> (raw)
In-Reply-To: <20261204162426.4171717-9-jremus@linux.ibm.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] perf python: symbols_view omits newly added inlined column
--

commit 94f2850728745d05c20b93e627431b793fdf46a6
Author: Jens Remus <jremus@linux.ibm.com>

perf python: Export inlined symbol flag in DB export scripts

This commit adds an inlined boolean column to the symbols table in
export-to-postgresql.py and export-to-sqlite.py, populated from
perf.callchain_node.inlined and included in the symbol deduplication key.

> diff --git a/tools/perf/python/export-to-postgresql.py b/tools/perf/python/export-to-postgresql.py
> index 9cac64dee3612..4f303d2394408 100755
> --- a/tools/perf/python/export-to-postgresql.py
> +++ b/tools/perf/python/export-to-postgresql.py

[ ... ]

> @@ -372,6 +372,7 @@ class PostgresExporter:
>                      sym_start       bigint,
>                      sym_end         bigint,
>                      binding         integer,
> +                    inlined         boolean,
>                      name            varchar(2048))
>          """)
>          self.do_query("""

[Severity: Low]
Should symbols_view also include the new inlined column?

Both PostgresExporter.finalize() and DatabaseExporter.create_tables() in
tools/perf/python/export-to-sqlite.py project every other column of symbols
in symbols_view while omitting inlined.  Because inlined and regular frames
sharing a name and DSO now get separate rows, they look identical in the view.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204162426.4171717-7-jremus@linux.ibm.com?part=2

  reply	other threads:[~2026-12-04 16:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04 16:24 [PATCH 0/5] perf python: Honor more perf script options Jens Remus
2026-12-04 16:24 ` [PATCH 1/5] perf python: Support inlined frames in callchains Jens Remus
2026-12-04 16:46   ` sashiko-bot
2026-12-04 16:24 ` [PATCH 2/5] perf python: Export inlined symbol flag in DB export scripts Jens Remus
2026-12-04 16:59   ` sashiko-bot [this message]
2026-12-04 16:24 ` [PATCH 3/5] perf python: Honor perf script --show-kernel-path Jens Remus
2026-12-04 17:13   ` sashiko-bot
2026-12-04 16:24 ` [PATCH 4/5] perf python: Honor perf script --demangle and --demangle-kernel Jens Remus
2026-12-04 16:24 ` [PATCH 5/5] perf python: Honor perf script --max-stack Jens Remus
2026-12-04 17:35   ` sashiko-bot
2026-12-04 17:35 ` [PATCH 0/5] perf python: Honor more perf script options sashiko-bot

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-250251@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=jremus@linux.ibm.com \
    --cc=linux-perf-users@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox