make PERF passed 2025-11-18 10:31:16 mkdir -p /pkg 2025-11-18 10:31:16 mkdir -p /kbuild/obj/consumer/x86_64-rhel-9.4-bpf last_num=146 2025-11-18 10:31:21 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 1 -v 1: vmlinux symtab matches kallsyms : Running (1 active) 1: vmlinux symtab matches kallsyms : Skip 2025-11-18 10:31:24 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 2 -v 2: Detect openat syscall event : Running (1 active) 2: Detect openat syscall event : Ok 2025-11-18 10:31:25 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 3 -v 3: Detect openat syscall event on all cpus : Running (1 active) 3: Detect openat syscall event on all cpus : Ok 2025-11-18 10:31:27 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 4 -v 4: Test data source output : Running (1 active) 4: Test data source output : Ok 2025-11-18 10:31:27 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 5 -v 5: Parse event definition strings : 5.1: Test event parsing : Running (6 active) 5.1: Test event parsing : Ok 5.2: Parsing of all PMU events from sysfs : Ok 5.3: Parsing of given PMU events from sysfs : Ok 5.4: Parsing of aliased events from sysfs : Skip (no aliases in sysfs) 5.5: Parsing of aliased events : Ok 5.6: Parsing of terms (event modifiers) : Ok 2025-11-18 10:31:29 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 6 -v 6: Simple expression parser : Running (1 active) 6: Simple expression parser : Ok 2025-11-18 10:31:30 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 7 -v 7: PERF_RECORD_* events & perf_sample fields : Running (1 active) --- start --- test child forked, pid 13281 Using CPUID GenuineIntel-6-55-B util/evsel.c:1517:41: runtime error: member access within null pointer of type 'struct callchain_param' ---- unexpected signal (11) ---- #0 0x7f9a52664403 in ___interceptor_backtrace.part.0 sanitizer_common_interceptors.inc:4358 #1 0x55b77f6671dc in child_test_sig_handler builtin-test.c:311 #2 0x7f9a48418df0 libc.so.6[3fdf0] #3 0x55b77f8b64d0 in evsel__config evsel.c:1517 #4 0x55b77fbc11d3 in evlist__config record.c:109 #5 0x55b77f6a5ae6 in test__PERF_RECORD perf-record.c:129 #6 0x55b77f667a6d in run_test_child builtin-test.c:339 #7 0x55b77f5b9e1f in start_command run-command.c:128 #8 0x55b77f669f49 in start_test builtin-test.c:545 #9 0x55b77f66aeb5 in __cmd_test builtin-test.c:647 #10 0x55b77f66d868 in cmd_test builtin-test.c:849 #11 0x55b77f5739ca in run_builtin perf.c:349 #12 0x55b77f5742bb in handle_internal_command perf.c:401 #13 0x55b77f574811 in run_argv perf.c:448 #14 0x55b77f574fb8 in main perf.c:555 #15 0x7f9a48402ca8 libc.so.6[29ca8] #16 0x7f9a48402d65 in __libc_start_main libc.so.6[29d65] #17 0x55b77f2dd251 in _start perf[101c251] ================================================================= ==13281==ERROR: LeakSanitizer: detected memory leaks Direct leak of 30952 byte(s) in 3 object(s) allocated from: #0 0x7f9a526da610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x7f9a524bb808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Direct leak of 32 byte(s) in 1 object(s) allocated from: #0 0x7f9a526dac57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55b77f6a57f3 in test__PERF_RECORD tests/perf-record.c:77 #2 0x55b77f667a6c in run_test_child tests/builtin-test.c:339 #3 0x55b77f5b9e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #4 0x55b77f669f48 in start_test tests/builtin-test.c:544 #5 0x55b77f66aeb4 in __cmd_test tests/builtin-test.c:647 #6 0x55b77f66d867 in cmd_test tests/builtin-test.c:849 #7 0x55b77f5739c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #8 0x55b77f5742ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #9 0x55b77f574810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #10 0x55b77f574fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #11 0x7f9a48402ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 9280 byte(s) in 3 object(s) allocated from: #0 0x7f9a526dac57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f9a524c3550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 2792 byte(s) in 1 object(s) allocated from: #0 0x7f9a526da610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x55b77f5a063b in zalloc ../../lib/zalloc.c:8 #2 0x55b77f887ab7 in evlist__new util/evlist.c:92 #3 0x55b77f887fd8 in evlist__new_dummy util/evlist.c:136 #4 0x55b77f6a5656 in test__PERF_RECORD tests/perf-record.c:60 #5 0x55b77f667a6c in run_test_child tests/builtin-test.c:339 #6 0x55b77f5b9e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #7 0x55b77f669f48 in start_test tests/builtin-test.c:544 #8 0x55b77f66aeb4 in __cmd_test tests/builtin-test.c:647 #9 0x55b77f66d867 in cmd_test tests/builtin-test.c:849 #10 0x55b77f5739c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #11 0x55b77f5742ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #12 0x55b77f574810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #13 0x55b77f574fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #14 0x7f9a48402ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 1873 byte(s) in 3 object(s) allocated from: #0 0x7f9a526dac57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f9a524c43fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 1128 byte(s) in 1 object(s) allocated from: #0 0x7f9a526da610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x55b77f5a063b in zalloc ../../lib/zalloc.c:8 #2 0x55b77f8a7bac in evsel__new_idx util/evsel.c:416 #3 0x55b77f889657 in evlist__dummy_event util/evlist.c:282 #4 0x55b77f889705 in evlist__add_dummy util/evlist.c:287 #5 0x55b77f887fef in evlist__new_dummy util/evlist.c:138 #6 0x55b77f6a5656 in test__PERF_RECORD tests/perf-record.c:60 #7 0x55b77f667a6c in run_test_child tests/builtin-test.c:339 #8 0x55b77f5b9e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #9 0x55b77f669f48 in start_test tests/builtin-test.c:544 #10 0x55b77f66aeb4 in __cmd_test tests/builtin-test.c:647 #11 0x55b77f66d867 in cmd_test tests/builtin-test.c:849 #12 0x55b77f5739c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #13 0x55b77f5742ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #14 0x55b77f574810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #15 0x55b77f574fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #16 0x7f9a48402ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 456 byte(s) in 1 object(s) allocated from: #0 0x7f9a526dac57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55b77f57ed75 in perf_cpu_map__alloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:31 #2 0x55b77f57fa73 in cpu_map__trim_new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:143 #3 0x55b77f580bd4 in perf_cpu_map__new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:231 #4 0x55b77f57f6cc in cpu_map__new_sysfs_online /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:111 #5 0x55b77f57f796 in perf_cpu_map__new_online_cpus /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:119 #6 0x55b77f57ff8e in perf_cpu_map__new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:175 #7 0x55b77f8906e0 in evlist__create_maps util/evlist.c:1028 #8 0x55b77f6a596f in test__PERF_RECORD tests/perf-record.c:102 #9 0x55b77f667a6c in run_test_child tests/builtin-test.c:339 #10 0x55b77f5b9e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #11 0x55b77f669f48 in start_test tests/builtin-test.c:544 #12 0x55b77f66aeb4 in __cmd_test tests/builtin-test.c:647 #13 0x55b77f66d867 in cmd_test tests/builtin-test.c:849 #14 0x55b77f5739c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #15 0x55b77f5742ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #16 0x55b77f574810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #17 0x55b77f574fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #18 0x7f9a48402ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 456 byte(s) in 1 object(s) allocated from: #0 0x7f9a526dac57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55b77f57ed75 in perf_cpu_map__alloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:31 #2 0x55b77f57fa73 in cpu_map__trim_new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:143 #3 0x55b77f580bd4 in perf_cpu_map__new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:231 #4 0x55b77f57f6cc in cpu_map__new_sysfs_online /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:111 #5 0x55b77f57f796 in perf_cpu_map__new_online_cpus /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:119 #6 0x55b77f58df9d in __perf_evlist__propagate_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:45 #7 0x55b77f5900d3 in perf_evlist__add /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:156 #8 0x55b77f888970 in evlist__add util/evlist.c:208 #9 0x55b77f88972a in evlist__add_dummy util/evlist.c:292 #10 0x55b77f887fef in evlist__new_dummy util/evlist.c:138 #11 0x55b77f6a5656 in test__PERF_RECORD tests/perf-record.c:60 #12 0x55b77f667a6c in run_test_child tests/builtin-test.c:339 #13 0x55b77f5b9e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #14 0x55b77f669f48 in start_test tests/builtin-test.c:544 #15 0x55b77f66aeb4 in __cmd_test tests/builtin-test.c:647 #16 0x55b77f66d867 in cmd_test tests/builtin-test.c:849 #17 0x55b77f5739c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #18 0x55b77f5742ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #19 0x55b77f574810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #20 0x55b77f574fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #21 0x7f9a48402ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 32 byte(s) in 1 object(s) allocated from: #0 0x7f9a526d9b58 in realloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:85 #1 0x55b77f583897 in perf_thread_map__realloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/threadmap.c:23 #2 0x55b77f583aeb in perf_thread_map__new_array /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/threadmap.c:47 #3 0x55b77f583d18 in perf_thread_map__new_dummy /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/threadmap.c:64 #4 0x55b77fa631ad in thread_map__new_by_tid_str util/thread_map.c:233 #5 0x55b77fa636e6 in thread_map__new_str util/thread_map.c:278 #6 0x55b77f890619 in evlist__create_maps util/evlist.c:1020 #7 0x55b77f6a596f in test__PERF_RECORD tests/perf-record.c:102 #8 0x55b77f667a6c in run_test_child tests/builtin-test.c:339 #9 0x55b77f5b9e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #10 0x55b77f669f48 in start_test tests/builtin-test.c:544 #11 0x55b77f66aeb4 in __cmd_test tests/builtin-test.c:647 #12 0x55b77f66d867 in cmd_test tests/builtin-test.c:849 #13 0x55b77f5739c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #14 0x55b77f5742ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #15 0x55b77f574810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #16 0x55b77f574fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #17 0x7f9a48402ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f9a526dac57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55b77f57f1fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62 #2 0x55b77f58e2dc in __perf_evlist__propagate_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:58 #3 0x55b77f5900d3 in perf_evlist__add /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:156 #4 0x55b77f888970 in evlist__add util/evlist.c:208 #5 0x55b77f88972a in evlist__add_dummy util/evlist.c:292 #6 0x55b77f887fef in evlist__new_dummy util/evlist.c:138 #7 0x55b77f6a5656 in test__PERF_RECORD tests/perf-record.c:60 #8 0x55b77f667a6c in run_test_child tests/builtin-test.c:339 #9 0x55b77f5b9e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #10 0x55b77f669f48 in start_test tests/builtin-test.c:544 #11 0x55b77f66aeb4 in __cmd_test tests/builtin-test.c:647 #12 0x55b77f66d867 in cmd_test tests/builtin-test.c:849 #13 0x55b77f5739c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #14 0x55b77f5742ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #15 0x55b77f574810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #16 0x55b77f574fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #17 0x7f9a48402ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f9a526dac57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55b77f57f1fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62 #2 0x55b77f581c3d in perf_cpu_map__merge /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:419 #3 0x55b77f58fa8c in __perf_evlist__propagate_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:131 #4 0x55b77f58fd1b in perf_evlist__propagate_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:145 #5 0x55b77f590cdb in perf_evlist__set_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:252 #6 0x55b77f890838 in evlist__create_maps util/evlist.c:1035 #7 0x55b77f6a596f in test__PERF_RECORD tests/perf-record.c:102 #8 0x55b77f667a6c in run_test_child tests/builtin-test.c:339 #9 0x55b77f5b9e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #10 0x55b77f669f48 in start_test tests/builtin-test.c:544 #11 0x55b77f66aeb4 in __cmd_test tests/builtin-test.c:647 #12 0x55b77f66d867 in cmd_test tests/builtin-test.c:849 #13 0x55b77f5739c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #14 0x55b77f5742ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #15 0x55b77f574810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #16 0x55b77f574fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #17 0x7f9a48402ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f9a526dac57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55b77f57f1fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62 #2 0x55b77f590aec in perf_evlist__set_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:244 #3 0x55b77f890838 in evlist__create_maps util/evlist.c:1035 #4 0x55b77f6a596f in test__PERF_RECORD tests/perf-record.c:102 #5 0x55b77f667a6c in run_test_child tests/builtin-test.c:339 #6 0x55b77f5b9e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #7 0x55b77f669f48 in start_test tests/builtin-test.c:544 #8 0x55b77f66aeb4 in __cmd_test tests/builtin-test.c:647 #9 0x55b77f66d867 in cmd_test tests/builtin-test.c:849 #10 0x55b77f5739c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #11 0x55b77f5742ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #12 0x55b77f574810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #13 0x55b77f574fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #14 0x7f9a48402ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f9a526dac57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55b77f57ed8e in perf_cpu_map__alloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:32 #2 0x55b77f57fa73 in cpu_map__trim_new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:143 #3 0x55b77f580bd4 in perf_cpu_map__new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:231 #4 0x55b77f57f6cc in cpu_map__new_sysfs_online /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:111 #5 0x55b77f57f796 in perf_cpu_map__new_online_cpus /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:119 #6 0x55b77f58df9d in __perf_evlist__propagate_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:45 #7 0x55b77f5900d3 in perf_evlist__add /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:156 #8 0x55b77f888970 in evlist__add util/evlist.c:208 #9 0x55b77f88972a in evlist__add_dummy util/evlist.c:292 #10 0x55b77f887fef in evlist__new_dummy util/evlist.c:138 #11 0x55b77f6a5656 in test__PERF_RECORD tests/perf-record.c:60 #12 0x55b77f667a6c in run_test_child tests/builtin-test.c:339 #13 0x55b77f5b9e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #14 0x55b77f669f48 in start_test tests/builtin-test.c:544 #15 0x55b77f66aeb4 in __cmd_test tests/builtin-test.c:647 #16 0x55b77f66d867 in cmd_test tests/builtin-test.c:849 #17 0x55b77f5739c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #18 0x55b77f5742ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #19 0x55b77f574810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #20 0x55b77f574fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #21 0x7f9a48402ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 1 byte(s) in 1 object(s) allocated from: #0 0x7f9a526d4d60 in strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:578 #1 0x55b77f8a713f in evsel__init util/evsel.c:392 #2 0x55b77f8a7bd7 in evsel__new_idx util/evsel.c:420 #3 0x55b77f889657 in evlist__dummy_event util/evlist.c:282 #4 0x55b77f889705 in evlist__add_dummy util/evlist.c:287 #5 0x55b77f887fef in evlist__new_dummy util/evlist.c:138 #6 0x55b77f6a5656 in test__PERF_RECORD tests/perf-record.c:60 #7 0x55b77f667a6c in run_test_child tests/builtin-test.c:339 #8 0x55b77f5b9e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #9 0x55b77f669f48 in start_test tests/builtin-test.c:544 #10 0x55b77f66aeb4 in __cmd_test tests/builtin-test.c:647 #11 0x55b77f66d867 in cmd_test tests/builtin-test.c:849 #12 0x55b77f5739c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #13 0x55b77f5742ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #14 0x55b77f574810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #15 0x55b77f574fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #16 0x7f9a48402ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) SUMMARY: AddressSanitizer: 47034 byte(s) leaked in 20 allocation(s). 7: PERF_RECORD_* events & perf_sample fields : FAILED! 2025-11-18 10:31:31 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 8 -v 8: Sysfs PMU tests : 8.1: Parsing with PMU format directory : Running (6 active) 8.1: Parsing with PMU format directory : Ok 8.2: Parsing with PMU event : Ok 8.3: PMU event names : Ok 8.4: PMU name combining : Ok 8.5: PMU name comparison : Ok 8.6: PMU cmdline match : Ok 2025-11-18 10:31:32 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 9 -v 9: PMU JSON event tests : 9.1: PMU event table sanity : Running (5 active) 9.1: PMU event table sanity : Ok 9.2: PMU event map aliases : Ok 9.3: Parsing of PMU event table metrics : Ok 9.4: Parsing of PMU event table metrics with fake PMUs : Ok 9.5: Parsing of metric thresholds with fake PMUs : Ok 2025-11-18 10:33:40 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 10 -v 10: Hwmon PMU : 10.1: Basic parsing test : Running (3 active) 10.1: Basic parsing test : Ok 10.2: Parsing without PMU name : Ok 10.3: Parsing with PMU name : Ok 2025-11-18 10:33:40 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 11 -v 11: Tool PMU : 11.1: Parsing without PMU name : Running (2 active) 11.1: Parsing without PMU name : Ok 11.2: Parsing with PMU name : Ok 2025-11-18 10:33:41 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 12 -v 12: DSO data tests : 12.1: read : Running (3 active) 12.1: read : Ok 12.2: cache : Ok 12.3: reopen : Ok 2025-11-18 10:33:41 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 13 -v 13: Roundtrip evsel->name : Running (1 active) 13: Roundtrip evsel->name : Ok 2025-11-18 10:33:42 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 14 -v 14: Parse sched tracepoints fields : Running (1 active) 14: Parse sched tracepoints fields : Ok 2025-11-18 10:33:43 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 15 -v 15: syscalls:sys_enter_openat event fields : Running (1 active) --- start --- test child forked, pid 13804 util/evsel.c:1517:41: runtime error: member access within null pointer of type 'struct callchain_param' ---- unexpected signal (11) ---- #0 0x7f50c5ebe403 in ___interceptor_backtrace.part.0 sanitizer_common_interceptors.inc:4358 #1 0x55c85d8951dc in child_test_sig_handler builtin-test.c:311 #2 0x7f50bbc72df0 libc.so.6[3fdf0] #3 0x55c85dae44d0 in evsel__config evsel.c:1517 #4 0x55c85d8cd595 in test__syscall_openat_tp_fields openat-syscall-tp-fields.c:67 #5 0x55c85d895a6d in run_test_child builtin-test.c:339 #6 0x55c85d7e7e1f in start_command run-command.c:128 #7 0x55c85d897f49 in start_test builtin-test.c:545 #8 0x55c85d898eb5 in __cmd_test builtin-test.c:647 #9 0x55c85d89b868 in cmd_test builtin-test.c:849 #10 0x55c85d7a19ca in run_builtin perf.c:349 #11 0x55c85d7a22bb in handle_internal_command perf.c:401 #12 0x55c85d7a2811 in run_argv perf.c:448 #13 0x55c85d7a2fb8 in main perf.c:555 #14 0x7f50bbc5cca8 libc.so.6[29ca8] #15 0x7f50bbc5cd65 in __libc_start_main libc.so.6[29d65] #16 0x55c85d50b251 in _start perf[101c251] ================================================================= ==13804==ERROR: LeakSanitizer: detected memory leaks Direct leak of 30952 byte(s) in 3 object(s) allocated from: #0 0x7f50c5f34610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x7f50c5d15808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 9280 byte(s) in 3 object(s) allocated from: #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f50c5d1d550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 2792 byte(s) in 1 object(s) allocated from: #0 0x7f50c5f34610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x55c85d7ce63b in zalloc ../../lib/zalloc.c:8 #2 0x55c85dab5ab7 in evlist__new util/evlist.c:92 #3 0x55c85d8cd36a in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:40 #4 0x55c85d895a6c in run_test_child tests/builtin-test.c:339 #5 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #6 0x55c85d897f48 in start_test tests/builtin-test.c:544 #7 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647 #8 0x55c85d89b867 in cmd_test tests/builtin-test.c:849 #9 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #10 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #11 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #12 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #13 0x7f50bbc5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 1873 byte(s) in 3 object(s) allocated from: #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f50c5d1e3fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 1128 byte(s) in 1 object(s) allocated from: #0 0x7f50c5f34610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x55c85d7ce63b in zalloc ../../lib/zalloc.c:8 #2 0x55c85dad9751 in evsel__newtp_idx util/evsel.c:586 #3 0x55c85d8cd08c in evsel__newtp /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/util/evsel.h:273 #4 0x55c85d8cd41c in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:50 #5 0x55c85d895a6c in run_test_child tests/builtin-test.c:339 #6 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #7 0x55c85d897f48 in start_test tests/builtin-test.c:544 #8 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647 #9 0x55c85d89b867 in cmd_test tests/builtin-test.c:849 #10 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #11 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #12 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #13 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #14 0x7f50bbc5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 456 byte(s) in 1 object(s) allocated from: #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55c85d7acd75 in perf_cpu_map__alloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:31 #2 0x55c85d7ada73 in cpu_map__trim_new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:143 #3 0x55c85d7aebd4 in perf_cpu_map__new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:231 #4 0x55c85d7ad6cc in cpu_map__new_sysfs_online /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:111 #5 0x55c85d7ad796 in perf_cpu_map__new_online_cpus /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:119 #6 0x55c85d7adf8e in perf_cpu_map__new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:175 #7 0x55c85dabe6e0 in evlist__create_maps util/evlist.c:1028 #8 0x55c85d8cd4fd in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:59 #9 0x55c85d895a6c in run_test_child tests/builtin-test.c:339 #10 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #11 0x55c85d897f48 in start_test tests/builtin-test.c:544 #12 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647 #13 0x55c85d89b867 in cmd_test tests/builtin-test.c:849 #14 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #15 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #16 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #17 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #18 0x7f50bbc5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 456 byte(s) in 1 object(s) allocated from: #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55c85d7acd75 in perf_cpu_map__alloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:31 #2 0x55c85d7ada73 in cpu_map__trim_new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:143 #3 0x55c85d7aebd4 in perf_cpu_map__new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:231 #4 0x55c85d7ad6cc in cpu_map__new_sysfs_online /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:111 #5 0x55c85d7ad796 in perf_cpu_map__new_online_cpus /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:119 #6 0x55c85d7bbf9d in __perf_evlist__propagate_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:45 #7 0x55c85d7be0d3 in perf_evlist__add /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:156 #8 0x55c85dab6970 in evlist__add util/evlist.c:208 #9 0x55c85d8cd4e4 in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:57 #10 0x55c85d895a6c in run_test_child tests/builtin-test.c:339 #11 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #12 0x55c85d897f48 in start_test tests/builtin-test.c:544 #13 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647 #14 0x55c85d89b867 in cmd_test tests/builtin-test.c:849 #15 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #16 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #17 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #18 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #19 0x7f50bbc5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 32 byte(s) in 1 object(s) allocated from: #0 0x7f50c5f33b58 in realloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:85 #1 0x55c85d7b1897 in perf_thread_map__realloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/threadmap.c:23 #2 0x55c85d7b1aeb in perf_thread_map__new_array /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/threadmap.c:47 #3 0x55c85d7b1d18 in perf_thread_map__new_dummy /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/threadmap.c:64 #4 0x55c85dc911ad in thread_map__new_by_tid_str util/thread_map.c:233 #5 0x55c85dc916e6 in thread_map__new_str util/thread_map.c:278 #6 0x55c85dabe619 in evlist__create_maps util/evlist.c:1020 #7 0x55c85d8cd4fd in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:59 #8 0x55c85d895a6c in run_test_child tests/builtin-test.c:339 #9 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #10 0x55c85d897f48 in start_test tests/builtin-test.c:544 #11 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647 #12 0x55c85d89b867 in cmd_test tests/builtin-test.c:849 #13 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #14 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #15 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #16 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #17 0x7f50bbc5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 26 byte(s) in 1 object(s) allocated from: #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f50bbcbaaf7 (/lib/x86_64-linux-gnu/libc.so.6+0x87af7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 17 byte(s) in 1 object(s) allocated from: #0 0x7f50c5f2ed60 in strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:578 #1 0x55c85dad9971 in evsel__newtp_idx util/evsel.c:601 #2 0x55c85d8cd08c in evsel__newtp /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/util/evsel.h:273 #3 0x55c85d8cd41c in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:50 #4 0x55c85d895a6c in run_test_child tests/builtin-test.c:339 #5 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #6 0x55c85d897f48 in start_test tests/builtin-test.c:544 #7 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647 #8 0x55c85d89b867 in cmd_test tests/builtin-test.c:849 #9 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #10 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #11 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #12 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #13 0x7f50bbc5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 9 byte(s) in 1 object(s) allocated from: #0 0x7f50c5f2ed60 in strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:578 #1 0x55c85dad983d in evsel__newtp_idx util/evsel.c:597 #2 0x55c85d8cd08c in evsel__newtp /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/util/evsel.h:273 #3 0x55c85d8cd41c in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:50 #4 0x55c85d895a6c in run_test_child tests/builtin-test.c:339 #5 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #6 0x55c85d897f48 in start_test tests/builtin-test.c:544 #7 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647 #8 0x55c85d89b867 in cmd_test tests/builtin-test.c:849 #9 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #10 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #11 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #12 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #13 0x7f50bbc5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55c85d7ad1fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62 #2 0x55c85d7afc3d in perf_cpu_map__merge /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:419 #3 0x55c85d7bda8c in __perf_evlist__propagate_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:131 #4 0x55c85d7bdd1b in perf_evlist__propagate_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:145 #5 0x55c85d7becdb in perf_evlist__set_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:252 #6 0x55c85dabe838 in evlist__create_maps util/evlist.c:1035 #7 0x55c85d8cd4fd in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:59 #8 0x55c85d895a6c in run_test_child tests/builtin-test.c:339 #9 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #10 0x55c85d897f48 in start_test tests/builtin-test.c:544 #11 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647 #12 0x55c85d89b867 in cmd_test tests/builtin-test.c:849 #13 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #14 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #15 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #16 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #17 0x7f50bbc5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55c85d7acd8e in perf_cpu_map__alloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:32 #2 0x55c85d7ada73 in cpu_map__trim_new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:143 #3 0x55c85d7aebd4 in perf_cpu_map__new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:231 #4 0x55c85d7ad6cc in cpu_map__new_sysfs_online /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:111 #5 0x55c85d7ad796 in perf_cpu_map__new_online_cpus /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:119 #6 0x55c85d7bbf9d in __perf_evlist__propagate_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:45 #7 0x55c85d7be0d3 in perf_evlist__add /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:156 #8 0x55c85dab6970 in evlist__add util/evlist.c:208 #9 0x55c85d8cd4e4 in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:57 #10 0x55c85d895a6c in run_test_child tests/builtin-test.c:339 #11 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #12 0x55c85d897f48 in start_test tests/builtin-test.c:544 #13 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647 #14 0x55c85d89b867 in cmd_test tests/builtin-test.c:849 #15 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #16 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #17 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #18 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #19 0x7f50bbc5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55c85d7ad1fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62 #2 0x55c85d7beaec in perf_evlist__set_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:244 #3 0x55c85dabe838 in evlist__create_maps util/evlist.c:1035 #4 0x55c85d8cd4fd in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:59 #5 0x55c85d895a6c in run_test_child tests/builtin-test.c:339 #6 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #7 0x55c85d897f48 in start_test tests/builtin-test.c:544 #8 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647 #9 0x55c85d89b867 in cmd_test tests/builtin-test.c:849 #10 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #11 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #12 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #13 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #14 0x7f50bbc5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f50c5f34c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55c85d7ad1fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62 #2 0x55c85d7bc2dc in __perf_evlist__propagate_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:58 #3 0x55c85d7be0d3 in perf_evlist__add /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:156 #4 0x55c85dab6970 in evlist__add util/evlist.c:208 #5 0x55c85d8cd4e4 in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:57 #6 0x55c85d895a6c in run_test_child tests/builtin-test.c:339 #7 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #8 0x55c85d897f48 in start_test tests/builtin-test.c:544 #9 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647 #10 0x55c85d89b867 in cmd_test tests/builtin-test.c:849 #11 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #12 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #13 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #14 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #15 0x7f50bbc5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 1 byte(s) in 1 object(s) allocated from: #0 0x7f50c5f2ed60 in strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:578 #1 0x55c85dad513f in evsel__init util/evsel.c:392 #2 0x55c85dad9b58 in evsel__newtp_idx util/evsel.c:617 #3 0x55c85d8cd08c in evsel__newtp /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/util/evsel.h:273 #4 0x55c85d8cd41c in test__syscall_openat_tp_fields tests/openat-syscall-tp-fields.c:50 #5 0x55c85d895a6c in run_test_child tests/builtin-test.c:339 #6 0x55c85d7e7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #7 0x55c85d897f48 in start_test tests/builtin-test.c:544 #8 0x55c85d898eb4 in __cmd_test tests/builtin-test.c:647 #9 0x55c85d89b867 in cmd_test tests/builtin-test.c:849 #10 0x55c85d7a19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #11 0x55c85d7a22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #12 0x55c85d7a2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #13 0x55c85d7a2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #14 0x7f50bbc5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) SUMMARY: AddressSanitizer: 47054 byte(s) leaked in 22 allocation(s). 15: syscalls:sys_enter_openat event fields : FAILED! 2025-11-18 10:33:44 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 16 -v 16: Match and link multiple hists : Running (1 active) 16: Match and link multiple hists : Ok 2025-11-18 10:33:44 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 17 -v 17: Breakpoint overflow signal handler : Running (1 active) 17: Breakpoint overflow signal handler : Ok 2025-11-18 10:33:45 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 18 -v 18: Breakpoint overflow sampling : Running (1 active) 18: Breakpoint overflow sampling : Ok 2025-11-18 10:33:45 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 19 -v 19: Breakpoint accounting : Running (1 active) 19: Breakpoint accounting : Ok 2025-11-18 10:33:46 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 20 -v 20: Watchpoint : 20.1: Read Only Watchpoint : Running (4 active) 20.1: Read Only Watchpoint : Skip (missing hardware support) 20.2: Write Only Watchpoint : Ok 20.3: Read / Write Watchpoint : Ok 20.4: Modify Watchpoint : Ok 2025-11-18 10:33:46 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 21 -v 21: Software clock events period values : Running (1 active) 21: Software clock events period values : Ok 2025-11-18 10:33:46 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 22 -v 22: Object code reading : Running (1 active) --- start --- test child forked, pid 13873 Looking at the vmlinux_path (8 entries long) symsrc__init: cannot get elf header. /proc/{kallsyms,modules} inconsistency while looking for "[bpf]" module! /proc/{kallsyms,modules} inconsistency while looking for "[bpf]" module! /proc/{kallsyms,modules} inconsistency while looking for "[bpf]" module! /proc/{kallsyms,modules} inconsistency while looking for "[bpf]" module! /proc/{kallsyms,modules} inconsistency while looking for "[bpf]" module! /proc/{kallsyms,modules} inconsistency while looking for "[bpf]" module! /proc/{kallsyms,modules} inconsistency while looking for "[bpf]" module! /proc/{kallsyms,modules} inconsistency while looking for "[bpf]" module! /proc/{kallsyms,modules} inconsistency while looking for "[bpf]" module! Using /proc/kallsyms for symbols Parsing event 'cpu-cycles:u' Using CPUID GenuineIntel-6-55-B cpu-cycles -> cpu/cpu-cycles/ util/evsel.c:1517:41: runtime error: member access within null pointer of type 'struct callchain_param' ---- unexpected signal (11) ---- #0 0x7f19d22f3403 in ___interceptor_backtrace.part.0 sanitizer_common_interceptors.inc:4358 #1 0x56434baa51dc in child_test_sig_handler builtin-test.c:311 #2 0x7f19c80a7df0 libc.so.6[3fdf0] #3 0x56434bcf44d0 in evsel__config evsel.c:1517 #4 0x56434bfff1d3 in evlist__config record.c:109 #5 0x56434bb35e4b in do_test_code_reading code-reading.c:792 #6 0x56434bb36abd in test__code_reading code-reading.c:860 #7 0x56434baa5a6d in run_test_child builtin-test.c:339 #8 0x56434b9f7e1f in start_command run-command.c:128 #9 0x56434baa7f49 in start_test builtin-test.c:545 #10 0x56434baa8eb5 in __cmd_test builtin-test.c:647 #11 0x56434baab868 in cmd_test builtin-test.c:849 #12 0x56434b9b19ca in run_builtin perf.c:349 #13 0x56434b9b22bb in handle_internal_command perf.c:401 #14 0x56434b9b2811 in run_argv perf.c:448 #15 0x56434b9b2fb8 in main perf.c:555 #16 0x7f19c8091ca8 libc.so.6[29ca8] #17 0x7f19c8091d65 in __libc_start_main libc.so.6[29d65] #18 0x56434b71b251 in _start perf[101c251] ================================================================= ==13873==ERROR: LeakSanitizer: detected memory leaks Direct leak of 30952 byte(s) in 3 object(s) allocated from: #0 0x7f19d2369610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x7f19d214a808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Direct leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f19d2369c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x56434b9bcd8e in perf_cpu_map__alloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:32 #2 0x56434b9bda73 in cpu_map__trim_new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:143 #3 0x56434b9bebd4 in perf_cpu_map__new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:231 #4 0x56434b9bd6cc in cpu_map__new_sysfs_online /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:111 #5 0x56434b9bd796 in perf_cpu_map__new_online_cpus /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:119 #6 0x56434bb35b05 in do_test_code_reading tests/code-reading.c:765 #7 0x56434bb36abc in test__code_reading tests/code-reading.c:860 #8 0x56434baa5a6c in run_test_child tests/builtin-test.c:339 #9 0x56434b9f7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #10 0x56434baa7f48 in start_test tests/builtin-test.c:544 #11 0x56434baa8eb4 in __cmd_test tests/builtin-test.c:647 #12 0x56434baab867 in cmd_test tests/builtin-test.c:849 #13 0x56434b9b19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #14 0x56434b9b22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #15 0x56434b9b2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #16 0x56434b9b2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #17 0x7f19c8091ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Direct leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f19d2369c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x56434be9992e in thread__get util/thread.c:136 #2 0x56434be9d132 in __threads_table_entry__get_last_match util/threads.c:72 #3 0x56434be9d4d2 in threads__find util/threads.c:98 #4 0x56434be1ebdd in __machine__findnew_thread util/machine.c:531 #5 0x56434be1eee2 in machine__findnew_thread util/machine.c:565 #6 0x56434bb35a8f in do_test_code_reading tests/code-reading.c:759 #7 0x56434bb36abc in test__code_reading tests/code-reading.c:860 #8 0x56434baa5a6c in run_test_child tests/builtin-test.c:339 #9 0x56434b9f7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #10 0x56434baa7f48 in start_test tests/builtin-test.c:544 #11 0x56434baa8eb4 in __cmd_test tests/builtin-test.c:647 #12 0x56434baab867 in cmd_test tests/builtin-test.c:849 #13 0x56434b9b19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #14 0x56434b9b22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #15 0x56434b9b2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #16 0x56434b9b2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #17 0x7f19c8091ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 9280 byte(s) in 3 object(s) allocated from: #0 0x7f19d2369c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f19d2152550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 2792 byte(s) in 1 object(s) allocated from: #0 0x7f19d2369610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x56434b9de63b in zalloc ../../lib/zalloc.c:8 #2 0x56434bcc5ab7 in evlist__new util/evlist.c:92 #3 0x56434bb35b7f in do_test_code_reading tests/code-reading.c:774 #4 0x56434bb36abc in test__code_reading tests/code-reading.c:860 #5 0x56434baa5a6c in run_test_child tests/builtin-test.c:339 #6 0x56434b9f7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #7 0x56434baa7f48 in start_test tests/builtin-test.c:544 #8 0x56434baa8eb4 in __cmd_test tests/builtin-test.c:647 #9 0x56434baab867 in cmd_test tests/builtin-test.c:849 #10 0x56434b9b19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #11 0x56434b9b22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #12 0x56434b9b2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #13 0x56434b9b2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #14 0x7f19c8091ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 1873 byte(s) in 3 object(s) allocated from: #0 0x7f19d2369c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f19d21533fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 1128 byte(s) in 1 object(s) allocated from: #0 0x7f19d2369610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x56434b9de63b in zalloc ../../lib/zalloc.c:8 #2 0x56434bce5bac in evsel__new_idx util/evsel.c:416 #3 0x56434bd2f2ff in __add_event util/parse-events.c:246 #4 0x56434bd3e19f in parse_events_add_pmu util/parse-events.c:1500 #5 0x56434bd3efc0 in parse_events_multi_pmu_add util/parse-events.c:1580 #6 0x56434bee5153 in parse_events_parse util/parse-events.y:277 #7 0x56434bd420b2 in parse_events__scanner util/parse-events.c:1860 #8 0x56434bd451ed in __parse_events util/parse-events.c:2187 #9 0x56434bd2d01e in parse_events util/parse-events.h:41 #10 0x56434bd4581c in parse_event util/parse-events.c:2238 #11 0x56434bb35dbd in do_test_code_reading tests/code-reading.c:784 #12 0x56434bb36abc in test__code_reading tests/code-reading.c:860 #13 0x56434baa5a6c in run_test_child tests/builtin-test.c:339 #14 0x56434b9f7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #15 0x56434baa7f48 in start_test tests/builtin-test.c:544 #16 0x56434baa8eb4 in __cmd_test tests/builtin-test.c:647 #17 0x56434baab867 in cmd_test tests/builtin-test.c:849 #18 0x56434b9b19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #19 0x56434b9b22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #20 0x56434b9b2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #21 0x56434b9b2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #22 0x7f19c8091ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 456 byte(s) in 1 object(s) allocated from: #0 0x7f19d2369c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x56434b9bcd75 in perf_cpu_map__alloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:31 #2 0x56434b9bda73 in cpu_map__trim_new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:143 #3 0x56434b9bebd4 in perf_cpu_map__new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:231 #4 0x56434b9bd6cc in cpu_map__new_sysfs_online /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:111 #5 0x56434b9bd796 in perf_cpu_map__new_online_cpus /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:119 #6 0x56434bb35b05 in do_test_code_reading tests/code-reading.c:765 #7 0x56434bb36abc in test__code_reading tests/code-reading.c:860 #8 0x56434baa5a6c in run_test_child tests/builtin-test.c:339 #9 0x56434b9f7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #10 0x56434baa7f48 in start_test tests/builtin-test.c:544 #11 0x56434baa8eb4 in __cmd_test tests/builtin-test.c:647 #12 0x56434baab867 in cmd_test tests/builtin-test.c:849 #13 0x56434b9b19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #14 0x56434b9b22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #15 0x56434b9b2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #16 0x56434b9b2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #17 0x7f19c8091ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 32 byte(s) in 1 object(s) allocated from: #0 0x7f19d2368b58 in realloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:85 #1 0x56434b9c1897 in perf_thread_map__realloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/threadmap.c:23 #2 0x56434be9f5e7 in thread_map__new_by_tid util/thread_map.c:64 #3 0x56434bb35961 in do_test_code_reading tests/code-reading.c:745 #4 0x56434bb36abc in test__code_reading tests/code-reading.c:860 #5 0x56434baa5a6c in run_test_child tests/builtin-test.c:339 #6 0x56434b9f7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #7 0x56434baa7f48 in start_test tests/builtin-test.c:544 #8 0x56434baa8eb4 in __cmd_test tests/builtin-test.c:647 #9 0x56434baab867 in cmd_test tests/builtin-test.c:849 #10 0x56434b9b19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #11 0x56434b9b22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #12 0x56434b9b2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #13 0x56434b9b2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #14 0x7f19c8091ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 13 byte(s) in 1 object(s) allocated from: #0 0x7f19d2363d60 in strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:578 #1 0x56434bea8b19 in parse_events_lex util/parse-events.l:270 #2 0x56434bee2c41 in parse_events_parse util/parse-events-bison.c:1400 #3 0x56434bd420b2 in parse_events__scanner util/parse-events.c:1860 #4 0x56434bd451ed in __parse_events util/parse-events.c:2187 #5 0x56434bd2d01e in parse_events util/parse-events.h:41 #6 0x56434bd4581c in parse_event util/parse-events.c:2238 #7 0x56434bb35dbd in do_test_code_reading tests/code-reading.c:784 #8 0x56434bb36abc in test__code_reading tests/code-reading.c:860 #9 0x56434baa5a6c in run_test_child tests/builtin-test.c:339 #10 0x56434b9f7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #11 0x56434baa7f48 in start_test tests/builtin-test.c:544 #12 0x56434baa8eb4 in __cmd_test tests/builtin-test.c:647 #13 0x56434baab867 in cmd_test tests/builtin-test.c:849 #14 0x56434b9b19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #15 0x56434b9b22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #16 0x56434b9b2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #17 0x56434b9b2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #18 0x7f19c8091ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f19d2369c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x56434b9bd1fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62 #2 0x56434bd2f276 in __add_event util/parse-events.c:241 #3 0x56434bd3e19f in parse_events_add_pmu util/parse-events.c:1500 #4 0x56434bd3efc0 in parse_events_multi_pmu_add util/parse-events.c:1580 #5 0x56434bee5153 in parse_events_parse util/parse-events.y:277 #6 0x56434bd420b2 in parse_events__scanner util/parse-events.c:1860 #7 0x56434bd451ed in __parse_events util/parse-events.c:2187 #8 0x56434bd2d01e in parse_events util/parse-events.h:41 #9 0x56434bd4581c in parse_event util/parse-events.c:2238 #10 0x56434bb35dbd in do_test_code_reading tests/code-reading.c:784 #11 0x56434bb36abc in test__code_reading tests/code-reading.c:860 #12 0x56434baa5a6c in run_test_child tests/builtin-test.c:339 #13 0x56434b9f7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #14 0x56434baa7f48 in start_test tests/builtin-test.c:544 #15 0x56434baa8eb4 in __cmd_test tests/builtin-test.c:647 #16 0x56434baab867 in cmd_test tests/builtin-test.c:849 #17 0x56434b9b19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #18 0x56434b9b22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #19 0x56434b9b2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #20 0x56434b9b2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #21 0x7f19c8091ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f19d2369c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x56434b9bd1fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62 #2 0x56434b9ceaec in perf_evlist__set_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:244 #3 0x56434bb35c3e in do_test_code_reading tests/code-reading.c:780 #4 0x56434bb36abc in test__code_reading tests/code-reading.c:860 #5 0x56434baa5a6c in run_test_child tests/builtin-test.c:339 #6 0x56434b9f7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #7 0x56434baa7f48 in start_test tests/builtin-test.c:544 #8 0x56434baa8eb4 in __cmd_test tests/builtin-test.c:647 #9 0x56434baab867 in cmd_test tests/builtin-test.c:849 #10 0x56434b9b19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #11 0x56434b9b22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #12 0x56434b9b2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #13 0x56434b9b2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #14 0x7f19c8091ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f19d2369c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x56434b9bd1fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62 #2 0x56434b9bfc3d in perf_cpu_map__merge /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:419 #3 0x56434b9cda8c in __perf_evlist__propagate_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:131 #4 0x56434b9ce0d3 in perf_evlist__add /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:156 #5 0x56434bcc6970 in evlist__add util/evlist.c:208 #6 0x56434bcc6e30 in evlist__splice_list_tail util/evlist.c:229 #7 0x56434bd45321 in __parse_events util/parse-events.c:2201 #8 0x56434bd2d01e in parse_events util/parse-events.h:41 #9 0x56434bd4581c in parse_event util/parse-events.c:2238 #10 0x56434bb35dbd in do_test_code_reading tests/code-reading.c:784 #11 0x56434bb36abc in test__code_reading tests/code-reading.c:860 #12 0x56434baa5a6c in run_test_child tests/builtin-test.c:339 #13 0x56434b9f7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #14 0x56434baa7f48 in start_test tests/builtin-test.c:544 #15 0x56434baa8eb4 in __cmd_test tests/builtin-test.c:647 #16 0x56434baab867 in cmd_test tests/builtin-test.c:849 #17 0x56434b9b19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #18 0x56434b9b22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #19 0x56434b9b2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #20 0x56434b9b2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #21 0x7f19c8091ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f19d2369c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x56434b9bd1fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62 #2 0x56434bd2f16c in __add_event util/parse-events.c:229 #3 0x56434bd3e19f in parse_events_add_pmu util/parse-events.c:1500 #4 0x56434bd3efc0 in parse_events_multi_pmu_add util/parse-events.c:1580 #5 0x56434bee5153 in parse_events_parse util/parse-events.y:277 #6 0x56434bd420b2 in parse_events__scanner util/parse-events.c:1860 #7 0x56434bd451ed in __parse_events util/parse-events.c:2187 #8 0x56434bd2d01e in parse_events util/parse-events.h:41 #9 0x56434bd4581c in parse_event util/parse-events.c:2238 #10 0x56434bb35dbd in do_test_code_reading tests/code-reading.c:784 #11 0x56434bb36abc in test__code_reading tests/code-reading.c:860 #12 0x56434baa5a6c in run_test_child tests/builtin-test.c:339 #13 0x56434b9f7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #14 0x56434baa7f48 in start_test tests/builtin-test.c:544 #15 0x56434baa8eb4 in __cmd_test tests/builtin-test.c:647 #16 0x56434baab867 in cmd_test tests/builtin-test.c:849 #17 0x56434b9b19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #18 0x56434b9b22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #19 0x56434b9b2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #20 0x56434b9b2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #21 0x7f19c8091ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 4 byte(s) in 1 object(s) allocated from: #0 0x7f19d2363d60 in strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:578 #1 0x56434bd42895 in evsel__compute_group_pmu_name util/parse-events.c:1950 #2 0x56434bd43963 in parse_events__sort_events_and_fix_groups util/parse-events.c:2053 #3 0x56434bd452f1 in __parse_events util/parse-events.c:2194 #4 0x56434bd2d01e in parse_events util/parse-events.h:41 #5 0x56434bd4581c in parse_event util/parse-events.c:2238 #6 0x56434bb35dbd in do_test_code_reading tests/code-reading.c:784 #7 0x56434bb36abc in test__code_reading tests/code-reading.c:860 #8 0x56434baa5a6c in run_test_child tests/builtin-test.c:339 #9 0x56434b9f7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #10 0x56434baa7f48 in start_test tests/builtin-test.c:544 #11 0x56434baa8eb4 in __cmd_test tests/builtin-test.c:647 #12 0x56434baab867 in cmd_test tests/builtin-test.c:849 #13 0x56434b9b19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #14 0x56434b9b22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #15 0x56434b9b2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #16 0x56434b9b2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #17 0x7f19c8091ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 1 byte(s) in 1 object(s) allocated from: #0 0x7f19d2363d60 in strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:578 #1 0x56434bd3e52d in parse_events_add_pmu util/parse-events.c:1517 #2 0x56434bd3efc0 in parse_events_multi_pmu_add util/parse-events.c:1580 #3 0x56434bee5153 in parse_events_parse util/parse-events.y:277 #4 0x56434bd420b2 in parse_events__scanner util/parse-events.c:1860 #5 0x56434bd451ed in __parse_events util/parse-events.c:2187 #6 0x56434bd2d01e in parse_events util/parse-events.h:41 #7 0x56434bd4581c in parse_event util/parse-events.c:2238 #8 0x56434bb35dbd in do_test_code_reading tests/code-reading.c:784 #9 0x56434bb36abc in test__code_reading tests/code-reading.c:860 #10 0x56434baa5a6c in run_test_child tests/builtin-test.c:339 #11 0x56434b9f7e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #12 0x56434baa7f48 in start_test tests/builtin-test.c:544 #13 0x56434baa8eb4 in __cmd_test tests/builtin-test.c:647 #14 0x56434baab867 in cmd_test tests/builtin-test.c:849 #15 0x56434b9b19c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #16 0x56434b9b22ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #17 0x56434b9b2810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #18 0x56434b9b2fb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #19 0x7f19c8091ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) SUMMARY: AddressSanitizer: 46579 byte(s) leaked in 22 allocation(s). 22: Object code reading : FAILED! 2025-11-18 10:33:51 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 23 -v 23: Sample parsing : Running (1 active) 23: Sample parsing : Ok 2025-11-18 10:33:51 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 24 -v 24: Use a dummy software event to keep tracking : Running (1 active) --- start --- test child forked, pid 13904 Using CPUID GenuineIntel-6-55-B dummy -> software/dummy/ cpu-cycles -> cpu/cpu-cycles/ util/evsel.c:1517:41: runtime error: member access within null pointer of type 'struct callchain_param' ---- unexpected signal (11) ---- #0 0x7f925426f403 in ___interceptor_backtrace.part.0 sanitizer_common_interceptors.inc:4358 #1 0x55887dd001dc in child_test_sig_handler builtin-test.c:311 #2 0x7f924a023df0 libc.so.6[3fdf0] #3 0x55887df4f4d0 in evsel__config evsel.c:1517 #4 0x55887e25a1d3 in evlist__config record.c:109 #5 0x55887dd89c06 in test__keep_tracking keep-tracking.c:97 #6 0x55887dd00a6d in run_test_child builtin-test.c:339 #7 0x55887dc52e1f in start_command run-command.c:128 #8 0x55887dd02f49 in start_test builtin-test.c:545 #9 0x55887dd03eb5 in __cmd_test builtin-test.c:647 #10 0x55887dd06868 in cmd_test builtin-test.c:849 #11 0x55887dc0c9ca in run_builtin perf.c:349 #12 0x55887dc0d2bb in handle_internal_command perf.c:401 #13 0x55887dc0d811 in run_argv perf.c:448 #14 0x55887dc0dfb8 in main perf.c:555 #15 0x7f924a00dca8 libc.so.6[29ca8] #16 0x7f924a00dd65 in __libc_start_main libc.so.6[29d65] #17 0x55887d976251 in _start perf[101c251] ================================================================= ==13904==ERROR: LeakSanitizer: detected memory leaks Direct leak of 30952 byte(s) in 3 object(s) allocated from: #0 0x7f92542e5610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x7f92540c6808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Direct leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f92542e5c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55887dc17d8e in perf_cpu_map__alloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:32 #2 0x55887dc18a73 in cpu_map__trim_new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:143 #3 0x55887dc19bd4 in perf_cpu_map__new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:231 #4 0x55887dc186cc in cpu_map__new_sysfs_online /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:111 #5 0x55887dc18796 in perf_cpu_map__new_online_cpus /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:119 #6 0x55887dd899b4 in test__keep_tracking tests/keep-tracking.c:84 #7 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #8 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #9 0x55887dd02f48 in start_test tests/builtin-test.c:544 #10 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #11 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #12 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #13 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #14 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #15 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #16 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 9280 byte(s) in 3 object(s) allocated from: #0 0x7f92542e5c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f92540ce550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 2792 byte(s) in 1 object(s) allocated from: #0 0x7f92542e5610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x55887dc3963b in zalloc ../../lib/zalloc.c:8 #2 0x55887df20ab7 in evlist__new util/evlist.c:92 #3 0x55887dd89a2a in test__keep_tracking tests/keep-tracking.c:87 #4 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #5 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #6 0x55887dd02f48 in start_test tests/builtin-test.c:544 #7 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #8 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #9 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #10 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #11 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #12 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #13 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 1873 byte(s) in 3 object(s) allocated from: #0 0x7f92542e5c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f92540cf3fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 1128 byte(s) in 1 object(s) allocated from: #0 0x7f92542e5610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x55887dc3963b in zalloc ../../lib/zalloc.c:8 #2 0x55887df40bac in evsel__new_idx util/evsel.c:416 #3 0x55887df8a2ff in __add_event util/parse-events.c:246 #4 0x55887df9919f in parse_events_add_pmu util/parse-events.c:1500 #5 0x55887df99fc0 in parse_events_multi_pmu_add util/parse-events.c:1580 #6 0x55887e140153 in parse_events_parse util/parse-events.y:277 #7 0x55887df9d0b2 in parse_events__scanner util/parse-events.c:1860 #8 0x55887dfa01ed in __parse_events util/parse-events.c:2187 #9 0x55887df8801e in parse_events util/parse-events.h:41 #10 0x55887dfa081c in parse_event util/parse-events.c:2238 #11 0x55887dd89b02 in test__keep_tracking tests/keep-tracking.c:92 #12 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #13 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #14 0x55887dd02f48 in start_test tests/builtin-test.c:544 #15 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #16 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #17 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #18 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #19 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #20 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #21 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 1128 byte(s) in 1 object(s) allocated from: #0 0x7f92542e5610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x55887dc3963b in zalloc ../../lib/zalloc.c:8 #2 0x55887df40bac in evsel__new_idx util/evsel.c:416 #3 0x55887df8a2ff in __add_event util/parse-events.c:246 #4 0x55887df9919f in parse_events_add_pmu util/parse-events.c:1500 #5 0x55887df99fc0 in parse_events_multi_pmu_add util/parse-events.c:1580 #6 0x55887e140153 in parse_events_parse util/parse-events.y:277 #7 0x55887df9d0b2 in parse_events__scanner util/parse-events.c:1860 #8 0x55887dfa01ed in __parse_events util/parse-events.c:2187 #9 0x55887df8801e in parse_events util/parse-events.h:41 #10 0x55887dfa081c in parse_event util/parse-events.c:2238 #11 0x55887dd89be3 in test__keep_tracking tests/keep-tracking.c:93 #12 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #13 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #14 0x55887dd02f48 in start_test tests/builtin-test.c:544 #15 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #16 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #17 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #18 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #19 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #20 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #21 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 456 byte(s) in 1 object(s) allocated from: #0 0x7f92542e5c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55887dc17d75 in perf_cpu_map__alloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:31 #2 0x55887dc18a73 in cpu_map__trim_new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:143 #3 0x55887dc19bd4 in perf_cpu_map__new /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:231 #4 0x55887dc186cc in cpu_map__new_sysfs_online /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:111 #5 0x55887dc18796 in perf_cpu_map__new_online_cpus /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:119 #6 0x55887dd899b4 in test__keep_tracking tests/keep-tracking.c:84 #7 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #8 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #9 0x55887dd02f48 in start_test tests/builtin-test.c:544 #10 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #11 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #12 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #13 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #14 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #15 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #16 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 32 byte(s) in 1 object(s) allocated from: #0 0x7f92542e4b58 in realloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:85 #1 0x55887dc1c897 in perf_thread_map__realloc /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/threadmap.c:23 #2 0x55887e0fa5e7 in thread_map__new_by_tid util/thread_map.c:64 #3 0x55887dd8993e in test__keep_tracking tests/keep-tracking.c:81 #4 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #5 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #6 0x55887dd02f48 in start_test tests/builtin-test.c:544 #7 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #8 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #9 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #10 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #11 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #12 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #13 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 13 byte(s) in 1 object(s) allocated from: #0 0x7f92542dfd60 in strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:578 #1 0x55887e103b19 in parse_events_lex util/parse-events.l:270 #2 0x55887e13dc41 in parse_events_parse util/parse-events-bison.c:1400 #3 0x55887df9d0b2 in parse_events__scanner util/parse-events.c:1860 #4 0x55887dfa01ed in __parse_events util/parse-events.c:2187 #5 0x55887df8801e in parse_events util/parse-events.h:41 #6 0x55887dfa081c in parse_event util/parse-events.c:2238 #7 0x55887dd89be3 in test__keep_tracking tests/keep-tracking.c:93 #8 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #9 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #10 0x55887dd02f48 in start_test tests/builtin-test.c:544 #11 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #12 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #13 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #14 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #15 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #16 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #17 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 9 byte(s) in 1 object(s) allocated from: #0 0x7f92542dfd60 in strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:578 #1 0x55887df9d895 in evsel__compute_group_pmu_name util/parse-events.c:1950 #2 0x55887df9e963 in parse_events__sort_events_and_fix_groups util/parse-events.c:2053 #3 0x55887dfa02f1 in __parse_events util/parse-events.c:2194 #4 0x55887df8801e in parse_events util/parse-events.h:41 #5 0x55887dfa081c in parse_event util/parse-events.c:2238 #6 0x55887dd89b02 in test__keep_tracking tests/keep-tracking.c:92 #7 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #8 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #9 0x55887dd02f48 in start_test tests/builtin-test.c:544 #10 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #11 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #12 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #13 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #14 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #15 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #16 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f92542e5c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55887dc181fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62 #2 0x55887dc29aec in perf_evlist__set_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:244 #3 0x55887dd89ae9 in test__keep_tracking tests/keep-tracking.c:90 #4 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #5 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #6 0x55887dd02f48 in start_test tests/builtin-test.c:544 #7 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #8 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #9 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #10 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #11 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #12 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #13 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f92542dfd60 in strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:578 #1 0x55887e103b19 in parse_events_lex util/parse-events.l:270 #2 0x55887e13dc41 in parse_events_parse util/parse-events-bison.c:1400 #3 0x55887df9d0b2 in parse_events__scanner util/parse-events.c:1860 #4 0x55887dfa01ed in __parse_events util/parse-events.c:2187 #5 0x55887df8801e in parse_events util/parse-events.h:41 #6 0x55887dfa081c in parse_event util/parse-events.c:2238 #7 0x55887dd89b02 in test__keep_tracking tests/keep-tracking.c:92 #8 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #9 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #10 0x55887dd02f48 in start_test tests/builtin-test.c:544 #11 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #12 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #13 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #14 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #15 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #16 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #17 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f92542e5c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55887dc181fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62 #2 0x55887df8a276 in __add_event util/parse-events.c:241 #3 0x55887df9919f in parse_events_add_pmu util/parse-events.c:1500 #4 0x55887df99fc0 in parse_events_multi_pmu_add util/parse-events.c:1580 #5 0x55887e140153 in parse_events_parse util/parse-events.y:277 #6 0x55887df9d0b2 in parse_events__scanner util/parse-events.c:1860 #7 0x55887dfa01ed in __parse_events util/parse-events.c:2187 #8 0x55887df8801e in parse_events util/parse-events.h:41 #9 0x55887dfa081c in parse_event util/parse-events.c:2238 #10 0x55887dd89be3 in test__keep_tracking tests/keep-tracking.c:93 #11 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #12 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #13 0x55887dd02f48 in start_test tests/builtin-test.c:544 #14 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #15 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #16 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #17 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #18 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #19 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #20 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f92542e5c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55887dc181fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62 #2 0x55887df8a16c in __add_event util/parse-events.c:229 #3 0x55887df9919f in parse_events_add_pmu util/parse-events.c:1500 #4 0x55887df99fc0 in parse_events_multi_pmu_add util/parse-events.c:1580 #5 0x55887e140153 in parse_events_parse util/parse-events.y:277 #6 0x55887df9d0b2 in parse_events__scanner util/parse-events.c:1860 #7 0x55887dfa01ed in __parse_events util/parse-events.c:2187 #8 0x55887df8801e in parse_events util/parse-events.h:41 #9 0x55887dfa081c in parse_event util/parse-events.c:2238 #10 0x55887dd89be3 in test__keep_tracking tests/keep-tracking.c:93 #11 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #12 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #13 0x55887dd02f48 in start_test tests/builtin-test.c:544 #14 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #15 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #16 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #17 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #18 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #19 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #20 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f92542e5c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55887dc181fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62 #2 0x55887df8a276 in __add_event util/parse-events.c:241 #3 0x55887df9919f in parse_events_add_pmu util/parse-events.c:1500 #4 0x55887df99fc0 in parse_events_multi_pmu_add util/parse-events.c:1580 #5 0x55887e140153 in parse_events_parse util/parse-events.y:277 #6 0x55887df9d0b2 in parse_events__scanner util/parse-events.c:1860 #7 0x55887dfa01ed in __parse_events util/parse-events.c:2187 #8 0x55887df8801e in parse_events util/parse-events.h:41 #9 0x55887dfa081c in parse_event util/parse-events.c:2238 #10 0x55887dd89b02 in test__keep_tracking tests/keep-tracking.c:92 #11 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #12 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #13 0x55887dd02f48 in start_test tests/builtin-test.c:544 #14 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #15 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #16 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #17 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #18 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #19 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #20 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f92542e5c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55887dc181fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62 #2 0x55887dc1ac3d in perf_cpu_map__merge /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:419 #3 0x55887dc28a8c in __perf_evlist__propagate_maps /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:131 #4 0x55887dc290d3 in perf_evlist__add /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/evlist.c:156 #5 0x55887df21970 in evlist__add util/evlist.c:208 #6 0x55887df21e30 in evlist__splice_list_tail util/evlist.c:229 #7 0x55887dfa0321 in __parse_events util/parse-events.c:2201 #8 0x55887df8801e in parse_events util/parse-events.h:41 #9 0x55887dfa081c in parse_event util/parse-events.c:2238 #10 0x55887dd89b02 in test__keep_tracking tests/keep-tracking.c:92 #11 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #12 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #13 0x55887dd02f48 in start_test tests/builtin-test.c:544 #14 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #15 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #16 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #17 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #18 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #19 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #20 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f92542e5c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55887dc181fb in perf_cpu_map__get /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/perf/cpumap.c:62 #2 0x55887e22014e in cpu_map__online util/cpumap.c:725 #3 0x55887df8a189 in __add_event util/parse-events.c:231 #4 0x55887df9919f in parse_events_add_pmu util/parse-events.c:1500 #5 0x55887df99fc0 in parse_events_multi_pmu_add util/parse-events.c:1580 #6 0x55887e140153 in parse_events_parse util/parse-events.y:277 #7 0x55887df9d0b2 in parse_events__scanner util/parse-events.c:1860 #8 0x55887dfa01ed in __parse_events util/parse-events.c:2187 #9 0x55887df8801e in parse_events util/parse-events.h:41 #10 0x55887dfa081c in parse_event util/parse-events.c:2238 #11 0x55887dd89b02 in test__keep_tracking tests/keep-tracking.c:92 #12 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #13 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #14 0x55887dd02f48 in start_test tests/builtin-test.c:544 #15 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #16 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #17 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #18 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #19 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #20 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #21 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 4 byte(s) in 1 object(s) allocated from: #0 0x7f92542dfd60 in strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:578 #1 0x55887df9d895 in evsel__compute_group_pmu_name util/parse-events.c:1950 #2 0x55887df9e963 in parse_events__sort_events_and_fix_groups util/parse-events.c:2053 #3 0x55887dfa02f1 in __parse_events util/parse-events.c:2194 #4 0x55887df8801e in parse_events util/parse-events.h:41 #5 0x55887dfa081c in parse_event util/parse-events.c:2238 #6 0x55887dd89be3 in test__keep_tracking tests/keep-tracking.c:93 #7 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #8 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #9 0x55887dd02f48 in start_test tests/builtin-test.c:544 #10 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #11 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #12 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #13 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #14 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #15 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #16 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 1 byte(s) in 1 object(s) allocated from: #0 0x7f92542dfd60 in strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:578 #1 0x55887df9952d in parse_events_add_pmu util/parse-events.c:1517 #2 0x55887df99fc0 in parse_events_multi_pmu_add util/parse-events.c:1580 #3 0x55887e140153 in parse_events_parse util/parse-events.y:277 #4 0x55887df9d0b2 in parse_events__scanner util/parse-events.c:1860 #5 0x55887dfa01ed in __parse_events util/parse-events.c:2187 #6 0x55887df8801e in parse_events util/parse-events.h:41 #7 0x55887dfa081c in parse_event util/parse-events.c:2238 #8 0x55887dd89be3 in test__keep_tracking tests/keep-tracking.c:93 #9 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #10 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #11 0x55887dd02f48 in start_test tests/builtin-test.c:544 #12 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #13 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #14 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #15 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #16 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #17 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #18 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 1 byte(s) in 1 object(s) allocated from: #0 0x7f92542dfd60 in strdup ../../../../src/libsanitizer/asan/asan_interceptors.cpp:578 #1 0x55887df9952d in parse_events_add_pmu util/parse-events.c:1517 #2 0x55887df99fc0 in parse_events_multi_pmu_add util/parse-events.c:1580 #3 0x55887e140153 in parse_events_parse util/parse-events.y:277 #4 0x55887df9d0b2 in parse_events__scanner util/parse-events.c:1860 #5 0x55887dfa01ed in __parse_events util/parse-events.c:2187 #6 0x55887df8801e in parse_events util/parse-events.h:41 #7 0x55887dfa081c in parse_event util/parse-events.c:2238 #8 0x55887dd89b02 in test__keep_tracking tests/keep-tracking.c:92 #9 0x55887dd00a6c in run_test_child tests/builtin-test.c:339 #10 0x55887dc52e1e in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/lib/subcmd/run-command.c:128 #11 0x55887dd02f48 in start_test tests/builtin-test.c:544 #12 0x55887dd03eb4 in __cmd_test tests/builtin-test.c:647 #13 0x55887dd06867 in cmd_test tests/builtin-test.c:849 #14 0x55887dc0c9c9 in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:349 #15 0x55887dc0d2ba in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:401 #16 0x55887dc0d810 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:445 #17 0x55887dc0dfb7 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf.c:553 #18 0x7f924a00dca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) SUMMARY: AddressSanitizer: 47733 byte(s) leaked in 27 allocation(s). 24: Use a dummy software event to keep tracking : FAILED! 2025-11-18 10:33:52 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 25 -v 25: Parse with no sample_id_all bit set : Running (1 active) 25: Parse with no sample_id_all bit set : Ok 2025-11-18 10:33:53 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 26 -v 26: Filter hist entries : Running (1 active) 26: Filter hist entries : Ok 2025-11-18 10:33:53 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 27 -v 27: Lookup mmap thread : Running (1 active) 27: Lookup mmap thread : Ok 2025-11-18 10:33:57 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 28 -v 28: Share thread maps : Running (1 active) 28: Share thread maps : Ok 2025-11-18 10:33:58 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 29 -v 29: Sort output of hist entries : Running (1 active) 29: Sort output of hist entries : Ok 2025-11-18 10:33:58 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-d430e742d054657591e1a95a80507afb758b499a/tools/perf/perf test 30 -v 30: Cumulate child hist entries : Running (1 active) 30: Cumulate child hist entries : Ok