lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPhsuW4nem9XZP+b=sJJ7kqXG-cafz0djZf51HsgjCiwkGBA+A@mail.gmail.com>
Date: Wed, 24 Jul 2024 15:39:56 -0700
From: Song Liu <song@...nel.org>
To: Kan Liang <kan.liang@...ux.intel.com>, Arnaldo Carvalho de Melo <acme@...nel.org>, 
	Adrian Hunter <adrian.hunter@...el.com>, linux-perf-users@...r.kernel.org, 
	open list <linux-kernel@...r.kernel.org>, Ian Rogers <irogers@...gle.com>, 
	Namhyung Kim <namhyung@...nel.org>, Jiri Olsa <jolsa@...nel.org>, jonesz@...a.com
Subject: Some unc_cha_tor_* events appear to be "not supported"?

Hi folks,

We noticed that some unc_cha_tor_occupancy and unc_cha_tor_inserts events
appear to be "not supported" and always counting zero (see an example below).
Is this a known issue? We are testing with 6.10 kernel and perf.

Thanks,
Song


[root@...neltest008.05.atn6 ~]# ./perf list | grep
unc_cha_tor_occupancy.ia_hit_llcprefdrd
  unc_cha_tor_occupancy.ia_hit_llcprefdrd
[root@...neltest008.05.atn6 ~]# ./perf stat -e
unc_cha_tor_occupancy.ia_hit_llcprefdrd -a -- sleep 1
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!
WARNING: event 'N/A' not valid (bits 10,12-13,15 of config1 '4b433'
not supported by kernel)!

 Performance counter stats for 'system wide':

                 0      unc_cha_tor_occupancy.ia_hit_llcprefdrd

       1.001680312 seconds time elapsed

[root@...neltest008.05.atn6 ~]# grep "model name" -m 1 /proc/cpuinfo
model name      : Intel(R) Xeon(R) Gold 6138 CPU @ 2.00GHz
[root@...neltest008.05.atn6 ~]# uname -r
6.10.0
[root@...neltest008.05.atn6 ~]# ./perf -vv
perf version 6.10.g0c3836482481
                 dwarf: [ on  ]  # HAVE_DWARF_SUPPORT
    dwarf_getlocations: [ on  ]  # HAVE_DWARF_GETLOCATIONS_SUPPORT
         syscall_table: [ on  ]  # HAVE_SYSCALL_TABLE_SUPPORT
                libbfd: [ OFF ]  # HAVE_LIBBFD_SUPPORT
            debuginfod: [ OFF ]  # HAVE_DEBUGINFOD_SUPPORT
                libelf: [ on  ]  # HAVE_LIBELF_SUPPORT
               libnuma: [ OFF ]  # HAVE_LIBNUMA_SUPPORT
numa_num_possible_cpus: [ OFF ]  # HAVE_LIBNUMA_SUPPORT
               libperl: [ OFF ]  # HAVE_LIBPERL_SUPPORT
             libpython: [ on  ]  # HAVE_LIBPYTHON_SUPPORT
              libslang: [ OFF ]  # HAVE_SLANG_SUPPORT
             libcrypto: [ on  ]  # HAVE_LIBCRYPTO_SUPPORT
             libunwind: [ on  ]  # HAVE_LIBUNWIND_SUPPORT
    libdw-dwarf-unwind: [ on  ]  # HAVE_DWARF_SUPPORT
           libcapstone: [ OFF ]  # HAVE_LIBCAPSTONE_SUPPORT
                  zlib: [ on  ]  # HAVE_ZLIB_SUPPORT
                  lzma: [ on  ]  # HAVE_LZMA_SUPPORT
             get_cpuid: [ on  ]  # HAVE_AUXTRACE_SUPPORT
                   bpf: [ on  ]  # HAVE_LIBBPF_SUPPORT
                   aio: [ on  ]  # HAVE_AIO_SUPPORT
                  zstd: [ on  ]  # HAVE_ZSTD_SUPPORT
               libpfm4: [ OFF ]  # HAVE_LIBPFM
         libtraceevent: [ on  ]  # HAVE_LIBTRACEEVENT
         bpf_skeletons: [ on  ]  # HAVE_BPF_SKEL
  dwarf-unwind-support: [ on  ]  # HAVE_DWARF_UNWIND_SUPPORT
            libopencsd: [ OFF ]  # HAVE_CSTRACE_SUPPORT

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ