summaryrefslogtreecommitdiff
path: root/tools/perf/python/stackcollapse.py
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-09-29 07:32:26 -1000
committerTejun Heo <tj@kernel.org>2026-09-29 12:53:24 -1000
commitf2f095c87603b8dfb6752e130d902970371c3852 (patch)
tree365c44bb899b5cb1d89e69dc4d1fb0b2d8017755 /tools/perf/python/stackcollapse.py
parentc6fe97c34a1a928bd1f6bbf47e6fe7130c501338 (diff)
downloadlinux-next-f2f095c87603b8dfb6752e130d902970371c3852.tar.gz
linux-next-f2f095c87603b8dfb6752e130d902970371c3852.zip
sched_ext: Work around pahole 1.32 dropping scx_bpf_task_set_lazy_resched() from BTF
With clang and pahole 1.32, x86-64 vmlinux BTF lacks scx_bpf_task_set_lazy_resched() and sched_ext fails to initialize: sched_ext: Failed to register kfunc sets (-22) clang describes the lazy argument only after the prologue moves it into a callee-saved register, which pahole 1.32 rejects as not being the argument register. Released pahole is affected whatever the eventual fix. Keep the argument on the stack with barrier_data() so that its location names no register. OPTIMIZER_HIDE_VAR() would fix x86-64 but break arm64. Fixes: f8e5a4e3f3be ("sched_ext: Add lazy preemption support") Link: https://lore.kernel.org/r/20260925213619.2187751-1-yonghong.song@linux.dev Signed-off-by: Tejun Heo <tj@kernel.org> Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/perf/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions