2022-05-09 05:26:15

by kernel test robot

[permalink] [raw]
Subject: [perf record] fe896f1a8b: perf-sanity-tests.perf.make_fail



Greeting,

FYI, we noticed the following commit (built with gcc-11):

commit: fe896f1a8bdd4b8e7deeab8a140361bf85c37d4b ("perf record: Enable off-cpu analysis with BPF")
https://git.kernel.org/cgit/linux/kernel/git/namhyung/linux-perf.git perf/offcpu-v1

in testcase: perf-sanity-tests
version: perf-x86_64-57ae8a492116-1_20220430
with following parameters:

perf_compiler: clang
ucode: 0xec



on test machine: 8 threads 1 sockets Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz with 32G memory

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):



If you fix the issue, kindly add following tag
Reported-by: kernel test robot <[email protected]>


==> /tmp/stderr <==
In file included from builtin-record.c:52:
util/off_cpu.h:12:1: error: expected identifier or ‘(’ before ‘{’ token
{
^

==> /tmp/stdout <==
CC /usr/src/perf_selftests-x86_64-rhel-8.3-func-fe896f1a8bdd4b8e7deeab8a140361bf85c37d4b/tools/perf/libbpf/staticobjs/strset.o

==> /tmp/stderr <==
util/off_cpu.h:11:19: error: ‘off_cpu_prepare’ used but never defined [-Werror]
static inline int off_cpu_prepare(struct evlist *evlist __maybe_unused);
^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [/usr/src/perf_selftests-x86_64-rhel-8.3-func-fe896f1a8bdd4b8e7deeab8a140361bf85c37d4b/tools/build/Makefile.build:97: builtin-record.o] Error 1
make[3]: *** Waiting for unfinished jobs....


--
0-DAY CI Kernel Test Service
https://01.org/lkp



Attachments:
(No filename) (1.52 kB)
config-5.18.0-rc2-00005-gfe896f1a8bdd (168.55 kB)
job-script (5.64 kB)
dmesg.xz (29.66 kB)
perf-sanity-tests (9.64 kB)
job.yaml (4.63 kB)
reproduce (272.00 B)
output (12.18 kB)
Download all attachments