Dwarves debugging tools
 help / color / mirror / Atom feed
From: Ihor Solodrai <ihor.solodrai@linux.dev>
To: Alan Maguire <alan.maguire@oracle.com>, dwarves@vger.kernel.org
Subject: Re: [PATCH v3 dwarves 0/2] Add function list comparison to github CI
Date: Tue, 15 Jul 2025 08:41:43 -0700	[thread overview]
Message-ID: <10fb86ef-8e1e-47a0-a553-e900af1d8c9c@linux.dev> (raw)
In-Reply-To: <20250710161632.191304-1-alan.maguire@oracle.com>

On 7/10/25 9:16 AM, Alan Maguire wrote:
> As changes to pahole can generate different sets of functions for
> vmlinux BTF, automate comparison between next branch and the series
> CI is testing.  Build baseline (default 'next' branch) as part of
> build-pahole.sh and build kernel with both test and baseline pahole,
> using pfunct to generate function lists for comparison.
> Example job here [1].
> 
> Patch 1 ensures that the baseline pahole is not built as part of
> setup; patch 2 adds the baseline build and compare-functions job to
> the dwarves-ci pipeline.
> 
> Changes since v2:
> 
> - altered patch 1 to not build pahole (pahole: 'none') during setup
>    (Ihor, patch 1)
> - do baseline build when building pahole via script, add compare
>    functions to summary (Ihor, patch 2)

Acked-by: Ihor Solodrai <ihor.solodrai@linux.dev>

Thanks!

> 
> Changes since v1:
> 
> - fix rebuild to actually rebuild with baseline pahole (patch 2)
> 
> [1] https://github.com/alan-maguire/dwarves/actions/runs/16192185959
> 
> Alan Maguire (2):
>    github CI: Do not build pahole as part of dwarves-ci setup
>    github CI: Add comparison of generated BTF functions between baseline,
>      change
> 
>   .github/scripts/build-pahole.sh      | 23 +++++++++++++++++++++
>   .github/scripts/compare-functions.sh | 30 ++++++++++++++++++++++++++++
>   .github/workflows/test.yml           |  4 ++--
>   .github/workflows/vmtest.yml         |  4 ++++
>   4 files changed, 59 insertions(+), 2 deletions(-)
>   create mode 100755 .github/scripts/compare-functions.sh
> 


  parent reply	other threads:[~2025-07-15 15:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-10 16:16 [PATCH v3 dwarves 0/2] Add function list comparison to github CI Alan Maguire
2025-07-10 16:16 ` [PATCH v3 dwarves 1/2] github CI: Do not build pahole as part of dwarves-ci setup Alan Maguire
2025-07-10 16:16 ` [PATCH v3 dwarves 2/2] github CI: Add comparison of generated BTF functions between baseline, change Alan Maguire
2025-07-15 15:41 ` Ihor Solodrai [this message]
2025-07-21 11:35   ` [PATCH v3 dwarves 0/2] Add function list comparison to github CI Alan Maguire

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=10fb86ef-8e1e-47a0-a553-e900af1d8c9c@linux.dev \
    --to=ihor.solodrai@linux.dev \
    --cc=alan.maguire@oracle.com \
    --cc=dwarves@vger.kernel.org \
    /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