[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202210051644.a83a7ca4-yujie.liu@intel.com>
Date: Wed, 5 Oct 2022 16:35:36 +0800
From: kernel test robot <yujie.liu@...el.com>
To: Tiezhu Yang <yangtiezhu@...ngson.cn>
CC: <lkp@...ts.01.org>, <lkp@...el.com>,
<linux-perf-users@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>,
"Ingo Molnar" <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
"Mark Rutland" <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>,
"Namhyung Kim" <namhyung@...nel.org>
Subject: [perf bench syscall] c5ba0666d8: perf-sanity-tests.perf.make_fail
Greeting,
FYI, we noticed the following commit (built with gcc-11):
commit: c5ba0666d8f6dd34cb07ad45804e6a90159d377f ("[PATCH v2 1/3] perf bench syscall: Introduce bench_syscall_common()")
url: https://github.com/intel-lab-lkp/linux/commits/Tiezhu-Yang/perf-Add-more-syscalls-to-benchmark/20220929-165832
base: https://git.kernel.org/cgit/linux/kernel/git/acme/linux.git perf/core
patch link: https://lore.kernel.org/lkml/1664441571-31349-2-git-send-email-yangtiezhu@loongson.cn
in testcase: perf-sanity-tests
version: perf-x86_64-b357fd1c2afc-1_20221001
with following parameters:
perf_compiler: gcc
on test machine: 8 threads 1 sockets Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (Kaby Lake) with 32G memory
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
CC bench/syscall.o
bench/syscall.c: In function ‘bench_syscall_common’:
bench/syscall.c:47:8: error: ‘__NR_getppid’ undeclared (first use in this function); did you mean ‘__getpgid’?
47 | case __NR_getppid:
| ^~~~~~~~~~~~
| __getpgid
bench/syscall.c:47:8: note: each undeclared identifier is reported only once for each function it appears in
bench/syscall.c: In function ‘bench_syscall_basic’:
bench/syscall.c:102:42: error: ‘__NR_getppid’ undeclared (first use in this function); did you mean ‘__getpgid’?
102 | return bench_syscall_common(argc, argv, __NR_getppid);
| ^~~~~~~~~~~~
| __getpgid
bench/syscall.c:103:1: error: control reaches end of non-void function [-Werror=return-type]
103 | }
| ^
cc1: all warnings being treated as errors
If you fix the issue, kindly add following tag
| Reported-by: kernel test robot <yujie.liu@...el.com>
| Link: https://lore.kernel.org/r/202210051644.a83a7ca4-yujie.liu@intel.com
To reproduce:
git clone https://github.com/intel/lkp-tests.git
cd lkp-tests
sudo bin/lkp install job.yaml # job file is attached in this email
bin/lkp split-job --compatible job.yaml # generate the yaml file for lkp run
sudo bin/lkp run generated-yaml-file
# if come across any failure that blocks the test,
# please remove ~/.lkp and /lkp dir to run from a clean state.
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config-6.0.0-rc4-00276-gc5ba0666d8f6" of type "text/plain" (168384 bytes)
View attachment "job-script" of type "text/plain" (5756 bytes)
Download attachment "dmesg.xz" of type "application/x-xz" (30440 bytes)
View attachment "perf-sanity-tests" of type "text/plain" (12342 bytes)
View attachment "job.yaml" of type "text/plain" (4628 bytes)
View attachment "reproduce" of type "text/plain" (207 bytes)
Powered by blists - more mailing lists