Dwarves debugging tools
 help / color / mirror / Atom feed
* [PATCH v3 dwarves 0/2] Add function list comparison to github CI
@ 2025-07-10 16:16 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
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alan Maguire @ 2025-07-10 16:16 UTC (permalink / raw)
  To: dwarves; +Cc: ihor.solodrai, Alan Maguire

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)

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

-- 
2.43.5


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-07-21 11:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH v3 dwarves 0/2] Add function list comparison to github CI Ihor Solodrai
2025-07-21 11:35   ` Alan Maguire

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox