linux_headers_dir is /usr/src/linux-headers-x86_64-rhel-8.3-9517605f81f76e1ebdd710aa17a8221f8794106c
make -C lib
make[1]: Entering directory '/lkp/benchmarks/perf_event_tests/lib'
gcc -Wall -O2 -g -I../include  -c -o perf_helpers.o perf_helpers.c
gcc -Wall -O2 -g -I../include  -c -o tracefs_helpers.o tracefs_helpers.c
gcc -Wall -O2 -g -I../include  -c -o parse_record.o parse_record.c
gcc -Wall -O2 -g -I../include  -c -o matrix_multiply.o matrix_multiply.c
gcc -Wall -O2 -g -I../include  -c -o bpf_helpers.o bpf_helpers.c
gcc -Wall -O2 -I../include  -c -o pec_1076_warn.o pec_1076_warn.c
gcc   pec_1076_warn.o ../lib/libhelper.a   -o pec_1076_warn
make[1]: Leaving directory '/lkp/benchmarks/perf_event_tests/warnings'
2021-09-06 20:37:28 ./run_tests.sh

**** RUNNING perf_event_tests ****
Linux lkp-knm02 5.14.0-wt-ath-12269-g9517605f81f7 #1 SMP Mon Sep 6 15:30:59 CST 2021 x86_64 GNU/Linux

* Testing /proc/sys/kernel/perf_event_paranoid setting
  + tests/utils/check_paranoid
    Checking /proc/sys/kernel/perf_event_paranoid setting...   PASSED

* Checking infrastructure
  + tests/utils/get_cache_info
    Seeing if cache info is provided by the kernel...          PASSED
 + tests/sysfs/events
    Testing format of event files under /sys/...               PASSED

* Checking generalized events
  + tests/generalized_events/branches
    Testing "branches" generalized event...                    PASSED
  + tests/generalized_events/branch-misses
    Testing "branch-misses" generalized event...               FAILED
  + tests/generalized_events/cycles
    Testing "cycles" generalized event...                      PASSED
  + tests/generalized_events/instructions
    Testing "instructions" generalized event...                PASSED
  + tests/generalized_events/l1-dcache-stores
    Testing "L1-dcache-stores" generalized event...            SKIPPED
  + tests/generalized_events/l1-dcache-loads
    Testing "L1-dcache-loads" generalized event...             SKIPPED

* Checking Intel x86 specific features
  + tests/x86_intel/fixed_ctr0
    Testing fixed counter 0 event...                           PASSED
  + tests/x86_intel/fixed_ctr1
    Testing fixed counter 1 event...                           PASSED
  + tests/x86_intel/fixed_ctr2
    Testing fixed counter 2 event...                           PASSED
  + tests/x86_intel/offcore_response
    Testing RAW access to offcore response counters...         SKIPPED
  + tests/x86_intel/offcore_response_mask
    Testing if setting invalid offcore bits is blocked...      SKIPPED
  + tests/x86_intel/uncore_events
    Testing uncore events...                                   SKIPPED

* Checking breakpoint support
  + tests/breakpoints/breakpoint_support
    Testing hardware breakpoints...                            PASSED

* Checking basic perf_event functionality
  + tests/attr_fields/disabled
    Testing disabled bit...                                    PASSED
  + tests/attr_fields/exclusive
    Testing exclusive eventsets...                             FAILED
  + tests/attr_fields/format_id_support
    Testing for FORMAT_ID support...                           PASSED
  + tests/attr_fields/inherit
    Testing inherit...                                         PASSED
  + tests/attr_fields/inherit_stat
    Testing inherit_stat...                                    UNEXPLAINED
  + tests/attr_fields/pinned
    Testing pinned...                                          PASSED
  + tests/attr_fields/read_format_range_check
    Testing attr->read_format invalid bits...                  PASSED
  + tests/attr_fields/sample_type_range_check
    Testing attr->sample_type invalid bits...                  PASSED
  + tests/attr_fields/exclude_user
    Testing exclude_user...                                    PASSED
  + tests/attr_fields/exclude_kernel
    Testing exclude_kernel...                                  PASSED
  + tests/attr_fields/exclude_hv
    Testing exclude_hv...                                      PASSED
  + tests/attr_fields/exclude_idle
    Testing exclude_idle...                                    PASSED
  + tests/attr_fields/exclude_guest
    Testing exclude_guest...                                   PASSED
  + tests/attr_fields/exclude_host
    Testing exclude_host...                                    PASSED
  + tests/flags/flags_range_check
    Testing flags invalid bits...                              PASSED
  + tests/flags/flags_cgroup
    Testing PERF_FLAG_PID_CGROUP flag...                       PASSED
  + tests/flags/flags_fd_no_group
    Testing PERF_FLAG_FD_NO_GROUP flag...                      PASSED
  + tests/flags/flags_fd_output
    Testing PERF_FLAG_FD_OUTPUT flag...                        KNOWN KERNEL BUG
  + tests/socket/socket_pass
    Testing passing fd over a socket...                        PASSED

* Checking tracepoint functionality
  + tests/tracepoints/tracepoint_alias
    Testing if tracepoint event ids alias...                   PASSED

* Checking bugs that PAPI has to work around
  + tests/bugs/sync_read_required
    Testing if time running is correct without DISABLE...      PASSED
  + tests/bugs/read_group_attached
    Testing if FORMAT_GROUP works on attached processes...     PASSED
  + tests/bugs/check_schedulability
    Testing if events checked for schedulability at read...    PASSED
  + tests/multiplexing/check_papi_multiplexing
    Testing if schedulability checked with pinned=0...         PASSED
  + tests/multiplexing/check_multiplexing
    Testing if multiplexing works...                           PASSED

* Checking other bugs
  + tests/corner_cases/sw_start_leader
    Testing start with sw event group leader...                PASSED
  + tests/corner_cases/hw_sw_mix
    Testing mixes of HW and SW events...                       FAILED
  + tests/bugs/peo_zero_return
    Testing if aux_sample_size triggers invalid fd...          PASSED

* Checking bugs that can silently produce wrong results
  + tests/constraints/check_constraints
    Testing if event constraints are enforced...               SKIPPED
  + tests/corner_cases/context_switch_user_kernel
    Testing if context-switches are kernel only...             PASSED

* Checking interfaces that have changed over the years
  + tests/corner_cases/overflow_requires_mmap
    Testing if overflow signals require ring buffer...         PASSED
  + tests/corner_cases/signal_after_exec
    Testing if overflow signals survive exec...                PASSED
  + tests/corner_cases/sampled_notleader_refresh
    Testing if refresh of group leader enables siblings...     PASSED

* Checking for corner-cases in the ABI (not necessarily bugs)
  + tests/corner_cases/multiple_active
    Testing multiple simultaneous measurements...              PASSED
  + tests/corner_cases/max_num_events
    Testing max events that can be created...                  PASSED
  + tests/corner_cases/max_multiplex
    Testing limit of multiplexing...                           PASSED
  + tests/corner_cases/reset_leader
    Testing reset on group leader...                           PASSED
  + tests/corner_cases/check_reset_mpx
    Testing if reset clears multiplex fields...                PASSED
  + tests/corner_cases/huge_events_start
    Testing start of max events...                             PASSED
  + tests/corner_cases/huge_group_start
    Testing start of max event group...                        PASSED
  + tests/corner_cases/signal_after_close
    Testing signal after close...                              PASSED

* Checking for fast RDPMC support
  + tests/rdpmc/rdpmc_support
    Testing if userspace rdpmc reads are supported...          PASSED
  + tests/rdpmc/rdpmc_validation
    Testing if userspace rdpmc reads give expected results...  PASSED
  + tests/rdpmc/rdpmc_multiplexing
    Testing if userspace rdpmc multiplexing works...           PASSED
  + tests/rdpmc/rdpmc_reset
    Testing if resetting while using rdpmc works...            PASSED
  + tests/rdpmc/rdpmc_group
    Testing if rdpmc works with event groups...                PASSED
  + tests/rdpmc/rdpmc_attach
    Testing if rdpmc attach works...                           PASSED
  + tests/rdpmc/rdpmc_attach_cpu
    Running on CPU 221
Testing if rdpmc behavior on attach CPU...                 PASSED
  + tests/rdpmc/rdpmc_attach_global_cpu
    Running on CPU 149
Testing if rdpmc behavior on attach all procs on other CPU... FAILED
  + tests/rdpmc/rdpmc_attach_other_cpu
    Measuring on CPU 149
Running on CPU 221
Measuring on CPU 149
Testing if rdpmc behavior on attach other CPU...           PASSED
  + tests/rdpmc/rdpmc_multiattach
    Testing if rdpmc multi-attach works...                     PASSED
  + tests/rdpmc/rdpmc_multiattach_papi
    Testing if rdpmc papi-multi-attach works...                PASSED
  + tests/rdpmc/rdpmc_pthreads
    Testing if rdpmc with pthreads works...                    PASSED
  + tests/rdpmc/rdpmc_pthreads_group
    Testing if rdpmc with pthreads works...                    FAILED
Testing if rdpmc with pthreads works...                    FAILED
  + tests/rdpmc/rdpmc_attach_multi_enable
    Testing if minimized rdpmc papi-multi-attach works...      FAILED
  + tests/rdpmc/rdpmc_exec
    Testing if we can rdpmc in execed process...               PASSED
  + tests/rdpmc/rdpmc_exec_papi
    Testing if we can rdpmc in execed process (PAPI) ...       PASSED

* Checking OpenMP support
  + tests/openmp/openmp_test
    Testing OpenMP results...                                  FAILED
  + tests/openmp/openmp_overflow
    Testing OpenMP overflow results...                         FAILED
  + tests/openmp/openmp_sample

* Checking proposed interface updates (not in any released kernel)
  + tests/corner_cases/ioctl_refresh_0
    Testing if PERF_IOC_REFRESH with 0 works...                USE CAUTION
  + tests/corner_cases/wrong_size_enospc
    Testing if ENOSPC returned for wrong-sized buffer...       OLD BEHAVIOR

* Checking for major bugs that are unlikely to ever be fixed
  + tests/bugs/nmi_watchdog_group_leader
    Testing if NMI watchdog interferes w/ event scheduling...  UNIMPLEMENTED
