Re: [PATCH v14 32/32] perf kwork: Fix memory management of kwork_work

From: kernel test robot

Date: Mon May 25 2026 - 09:51:48 EST



Hello,

kernel test robot noticed "perf-stat-tests.perf.make.fail" on:

commit: 7f9aae3554b369864c01505b2ec02ddf6f6e12f3 ("[PATCH v14 32/32] perf kwork: Fix memory management of kwork_work")
url: https://github.com/intel-lab-lkp/linux/commits/Ian-Rogers/perf-tool-Remove-evsel-from-tool-APIs-that-pass-the-sample/20260521-061855
patch link: https://lore.kernel.org/all/20260520190538.142018-33-irogers@xxxxxxxxxx/
patch subject: [PATCH v14 32/32] perf kwork: Fix memory management of kwork_work

in testcase: perf-stat-tests
version:
with following parameters:


config: x86_64-rhel-9.4-bpf
compiler: gcc-14
test machine: 16 threads Intel(R) Core(TM) i7-13620H (Raptor Lake) with 32G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)


If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-lkp/202605251514.4b99efea-lkp@xxxxxxxxx


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20260525/202605251514.4b99efea-lkp@xxxxxxxxx


==> /tmp/stderr <==
Makefile.config:661: Warning: Disabled BPF skeletons as clang (clang) is missing
Makefile.config:1134: Rust is not found. Test workloads with rust are disabled.
PERF_VERSION = 7.1.0-rc2
/usr/bin/ld: perf-in.o: in function `work_delete':
/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-7f9aae3554b369864c01505b2ec02ddf6f6e12f3/tools/perf/builtin-kwork.c:383:(.text+0x1b569b): undefined reference to `work_exit'
/usr/bin/ld: perf-in.o: in function `work_push_atom':
/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-7f9aae3554b369864c01505b2ec02ddf6f6e12f3/tools/perf/builtin-kwork.c:549:(.text+0x1b77d3): undefined reference to `work_exit'
/usr/bin/ld: perf-in.o: in function `work_pop_atom':
/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-7f9aae3554b369864c01505b2ec02ddf6f6e12f3/tools/perf/builtin-kwork.c:590:(.text+0x1b7fc6): undefined reference to `work_exit'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile.perf:803: perf] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile.perf:289: sub-make] Error 2
make: *** [Makefile:76: all] Error 2


--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki