Dwarves debugging tools
 help / color / mirror / Atom feed
From: Alan Maguire <almagui@kernel.org>
To: dwarves@vger.kernel.org
Cc: Alan Maguire <almagui@kernel.org>
Subject: [PATCH dwarves 5/6] CI: Fix ondemand workflow inputs and LLVM version in function comparison
Date: Mon, 16 Nov 2026 11:20:42 +0000	[thread overview]
Message-ID: <20261116112043.3831978-6-almagui@kernel.org> (raw)
In-Reply-To: <20261116112043.3831978-1-almagui@kernel.org>

The ondemand workflow calls vmtest.yml without the required "cc"
input, so manually dispatched runs fail.  Add a "cc" input (default
gcc) to ondemand.yml, pass it through, and include it in the job name.

The function comparison step in vmtest.yml referenced
inputs.llvm_version rather than inputs.llvm-version, so LLVM_VERSION
was always empty there and compare-functions.sh silently fell back to
its default of 22 whatever llvm-version the caller requested.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Alan Maguire <almagui@kernel.org>
---
 .github/workflows/ondemand.yml | 6 +++++-
 .github/workflows/vmtest.yml   | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ondemand.yml b/.github/workflows/ondemand.yml
index 6e48e12..09e7ccb 100644
--- a/.github/workflows/ondemand.yml
+++ b/.github/workflows/ondemand.yml
@@ -18,10 +18,13 @@ on:
       runs-on:
         default: 'ubuntu-24.04'
         required: true
+      cc:
+        default: 'gcc'
+        required: true
 
 jobs:
   vmtest:
-    name: ${{ inputs.kernel }} kernel llvm-${{ inputs.llvm-version }} pahole@${{ inputs.pahole }}
+    name: ${{ inputs.kernel }} kernel ${{ inputs.cc }} llvm-${{ inputs.llvm-version }} pahole@${{ inputs.pahole }}
     uses: ./.github/workflows/vmtest.yml
     with:
       runs_on: ${{ inputs.runs-on }}
@@ -29,3 +32,4 @@ jobs:
       arch: ${{ inputs.arch }}
       llvm-version: ${{ inputs.llvm-version }}
       pahole: ${{ inputs.pahole }}
+      cc: ${{ inputs.cc }}
diff --git a/.github/workflows/vmtest.yml b/.github/workflows/vmtest.yml
index 1e876a0..0bc19d7 100644
--- a/.github/workflows/vmtest.yml
+++ b/.github/workflows/vmtest.yml
@@ -74,6 +74,6 @@ jobs:
         shell: bash
         env:
           CC: ${{ inputs.cc }}
-          LLVM_VERSION: ${{ inputs.llvm_version }}
+          LLVM_VERSION: ${{ inputs.llvm-version }}
         run: .github/scripts/compare-functions.sh
 
-- 
2.56.0


  parent reply	other threads:[~2026-11-16 11:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-16 11:20 [PATCH dwarves 0/6] Add support for LTO kernel builds, other CI fixes Alan Maguire
2026-11-16 11:20 ` [PATCH dwarves 1/6] CI: Make kernel source fetch tolerant of git host failures Alan Maguire
2026-11-16 11:20 ` [PATCH dwarves 2/6] tests: Match BTF and DWARF functions with set operations in btf_functions.sh Alan Maguire
2026-11-16 11:20 ` [PATCH dwarves 3/6] CI: Scope workflow concurrency groups to the branch for push runs Alan Maguire
2026-11-16 11:20 ` [PATCH dwarves 4/6] tests: Expect no DWARF loader threads in reproducible_build.sh when CUs are merged Alan Maguire
2026-11-16 11:20 ` Alan Maguire [this message]
2026-11-16 11:20 ` [PATCH dwarves 6/6] CI: Add clang ThinLTO kernel build to test matrix Alan Maguire
2026-11-18 19:39 ` [PATCH dwarves 0/6] Add support for LTO kernel builds, other CI fixes 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=20261116112043.3831978-6-almagui@kernel.org \
    --to=almagui@kernel.org \
    --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