Greeting, FYI, we noticed perf-sanity-tests.Setup_struct_perf_event_attr.fail due to commit (built with gcc-11): commit: 94b1a603fca78388ef7575411aed4b1fabd843f9 ("perf stat: Add TopdownL1 metric as a default if present") https://github.com/ammarfaizi2/linux-block acme/linux/perf-tools-next in testcase: perf-sanity-tests version: perf-x86_64-2fcd07b7ccd5-1_20230226 with following parameters: perf_compiler: clang 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): If you fix the issue, kindly add following tag | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-lkp/202303081009.796553a3-oliver.sang@intel.com 2023-03-07 20:26:33 sudo /usr/src/perf_selftests-x86_64-rhel-8.3-func-94b1a603fca78388ef7575411aed4b1fabd843f9/tools/perf/perf test 12 12: Setup struct perf_event_attr : FAILED! 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://github.com/intel/lkp-tests