FYI, we noticed the following commit (built with gcc-7): commit: cc9cdf40aef6bd62b3fe062c4958b75dbdcddcb6 ("[PATCH 09/12] perf stat: Use affinity for opening events") url: https://github.com/0day-ci/linux/commits/Andi-Kleen/perf-pmu-Use-file-system-cache-to-optimize-sysfs-access/20191122-042250 in testcase: perf-sanity-tests with following parameters: perf_compiler: gcc ucode: 0x27 on test machine: 8 threads Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz with 8G 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 2019-12-07 13:29:29 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-cc9cdf40aef6bd62b3fe062c4958b75dbdcddcb6/tools/perf/perf test 40 40: Session topology : Ok 2019-12-07 13:29:30 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-cc9cdf40aef6bd62b3fe062c4958b75dbdcddcb6/tools/perf/perf test 42 42: Synthesize thread map : Ok 2019-12-07 13:29:30 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-cc9cdf40aef6bd62b3fe062c4958b75dbdcddcb6/tools/perf/perf test 43 43: Remove thread map : Ok 2019-12-07 13:29:30 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-cc9cdf40aef6bd62b3fe062c4958b75dbdcddcb6/tools/perf/perf test 44 44: Synthesize cpu map : Ok 2019-12-07 13:29:30 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-cc9cdf40aef6bd62b3fe062c4958b75dbdcddcb6/tools/perf/perf test 45 45: Synthesize stat config : Ok 2019-12-07 13:29:30 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-cc9cdf40aef6bd62b3fe062c4958b75dbdcddcb6/tools/perf/perf test 46 46: Synthesize stat : Ok 2019-12-07 13:29:30 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-cc9cdf40aef6bd62b3fe062c4958b75dbdcddcb6/tools/perf/perf test 47 47: Synthesize stat round : Ok 2019-12-07 13:29:30 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-cc9cdf40aef6bd62b3fe062c4958b75dbdcddcb6/tools/perf/perf test 48 48: Synthesize attr update : Ok 2019-12-07 13:29:30 sudo /usr/src/perf_selftests-x86_64-rhel-7.6-cc9cdf40aef6bd62b3fe062c4958b75dbdcddcb6/tools/perf/perf test 49 49: Event times : FAILED! To reproduce: git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp install job.yaml # job file is attached in this email bin/lkp run job.yaml Thanks, Rong Chen