make PERF passed 2025-12-05 13:12:08 mkdir -p /pkg 2025-12-05 13:12:08 mkdir -p /kbuild/obj/consumer/x86_64-rhel-9.4-bpf last_num=148 2025-12-05 13:12:35 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 61 -v 61: Event expansion for cgroups : Running (1 active) 61: Event expansion for cgroups : Ok 2025-12-05 13:12:36 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 62 -v 62: Convert perf time to TSC : 62.1: TSC support : Running (2 active) 62.1: TSC support : Ok 62.2: Perf time to TSC : Ok 2025-12-05 13:12:36 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 63 -v 63: dlfilter C API : Running (1 active) --- start --- test child forked, pid 11127 -- Testing version 0 API -- Checking for gcc Command: gcc --version gcc (Debian 14.2.0-19) 14.2.0 Copyright (C) 2024 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. dlfilters path: /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/dlfilters Command: gcc -g -o /tmp/dlfilter-test-11127-prog /tmp/dlfilter-test-11127-prog.c Creating new host machine structure Command: /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf script -i /tmp/dlfilter-test-11127-perf-data --dlfilter /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/dlfilters/dlfilter-test-api-v0.so --dlarg first --dlarg 1 --dlarg 4198704 --dlarg 4198697 --dlarg 0 --dlarg last start API filter_event_early API filter_event API stop API ================================================================= ==11140==ERROR: LeakSanitizer: detected memory leaks Direct leak of 7752 byte(s) in 1 object(s) allocated from: #0 0x7f5e2dd2c610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x7f5e2db0d808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 2304 byte(s) in 1 object(s) allocated from: #0 0x7f5e2dd2cc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f5e2db15550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 352 byte(s) in 1 object(s) allocated from: #0 0x7f5e2dd2cc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f5e2db163fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) SUMMARY: AddressSanitizer: 10408 byte(s) leaked in 3 allocation(s). Failed with return value 256 ---- end(-1) ---- ================================================================= ==11127==ERROR: LeakSanitizer: detected memory leaks Direct leak of 7752 byte(s) in 1 object(s) allocated from: #0 0x7f44f14ea610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x7f44f12cb808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 2304 byte(s) in 1 object(s) allocated from: #0 0x7f44f14eac57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f44f12d3550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 352 byte(s) in 1 object(s) allocated from: #0 0x7f44f14eac57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f44f12d43fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) SUMMARY: AddressSanitizer: 10408 byte(s) leaked in 3 allocation(s). 63: dlfilter C API : FAILED! 2025-12-05 13:12:38 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 64 -v 64: Sigtrap : Running (1 active) 64: Sigtrap : Ok 2025-12-05 13:12:38 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 65 -v 65: Event groups : Running (1 active) 65: Event groups : Skip 2025-12-05 13:12:39 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 66 -v 66: Symbols : Running (1 active) --- start --- test child forked, pid 11170 Testing /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf ---- end(0) ---- ================================================================= ==11170==ERROR: LeakSanitizer: detected memory leaks Direct leak of 9624 byte(s) in 1 object(s) allocated from: #0 0x7efe3ab5c610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x7efe3a93d808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 2880 byte(s) in 1 object(s) allocated from: #0 0x7efe3ab5cc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7efe3a945550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 461 byte(s) in 1 object(s) allocated from: #0 0x7efe3ab5cc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7efe3a9463fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) SUMMARY: AddressSanitizer: 12965 byte(s) leaked in 3 allocation(s). 66: Symbols : FAILED! 2025-12-05 13:12:40 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 67 -v 67: util : Running (1 active) 67: util : Ok 2025-12-05 13:12:40 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 68 -v 68: libsubcmd help tests : 68.1: Load subcmd names : Running (3 active) 68.1: Load subcmd names : Ok 68.2: Uniquify subcmd names : Ok 68.3: Exclude duplicate subcmd names : Ok 2025-12-05 13:12:41 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 69 -v 69: split kallsyms : Running (1 active) --- start --- test child forked, pid 11201 try to create fake root directory create kernel maps from the fake root directory maps__set_modules_path_dir: cannot open /tmp/perf-test.esU8Ev/lib/modules/X.Y.Z dir Problems setting modules path maps, continuing anyway... Using /tmp/perf-test.esU8Ev/proc/kallsyms for symbols kernel map loaded - check symbol and map ---- end(0) ---- ================================================================= ==11201==ERROR: LeakSanitizer: detected memory leaks Direct leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f0248972c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x561eb25dc57a in map__get util/map.h:188 #2 0x561eb25e1d2b in maps__find_symbol_by_name_cb util/maps.c:658 #3 0x561eb25e1678 in maps__for_each_map util/maps.c:591 #4 0x561eb25e1ef2 in maps__find_symbol_by_name util/maps.c:670 #5 0x561eb231e67a in machine__find_kernel_symbol_by_name /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/util/machine.h:254 #6 0x561eb231f70b in test__kallsyms_split tests/kallsyms-split.c:139 #7 0x561eb223b4d8 in run_test_child tests/builtin-test.c:340 #8 0x561eb218d899 in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/lib/subcmd/run-command.c:128 #9 0x561eb223d9b4 in start_test tests/builtin-test.c:545 #10 0x561eb223e920 in __cmd_test tests/builtin-test.c:648 #11 0x561eb22412d3 in cmd_test tests/builtin-test.c:850 #12 0x561eb214751d in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:349 #13 0x561eb2147e0e in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:401 #14 0x561eb2148364 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:445 #15 0x561eb2148b0b in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:553 #16 0x7f023e69aca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 468 byte(s) in 7 object(s) allocated from: #0 0x7f0248972610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x561eb253a5e8 in symbol__new util/symbol.c:316 #2 0x561eb253e206 in map__process_kallsym_symbol util/symbol.c:788 #3 0x561eb21925e7 in kallsyms__parse /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/lib/symbol/kallsyms.c:71 #4 0x561eb253e2b3 in dso__load_all_kallsyms util/symbol.c:807 #5 0x561eb2543bee in __dso__load_kallsyms util/symbol.c:1511 #6 0x561eb2543ed8 in dso__load_kallsyms util/symbol.c:1534 #7 0x561eb2546cc9 in dso__load_kernel_sym util/symbol.c:2123 #8 0x561eb2544d33 in dso__load util/symbol.c:1719 #9 0x561eb25d9451 in map__load util/map.c:351 #10 0x561eb231f596 in test__kallsyms_split tests/kallsyms-split.c:127 #11 0x561eb223b4d8 in run_test_child tests/builtin-test.c:340 #12 0x561eb218d899 in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/lib/subcmd/run-command.c:128 #13 0x561eb223d9b4 in start_test tests/builtin-test.c:545 #14 0x561eb223e920 in __cmd_test tests/builtin-test.c:648 #15 0x561eb22412d3 in cmd_test tests/builtin-test.c:850 #16 0x561eb214751d in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:349 #17 0x561eb2147e0e in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:401 #18 0x561eb2148364 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:445 #19 0x561eb2148b0b in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:553 #20 0x7f023e69aca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 386 byte(s) in 1 object(s) allocated from: #0 0x7f0248972610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x561eb21740b6 in zalloc ../../lib/zalloc.c:8 #2 0x561eb2529d8f in dso__new_id util/dso.c:1527 #3 0x561eb25327bb in __dsos__addnew_id util/dsos.c:329 #4 0x561eb253287d in __dsos__findnew_id util/dsos.c:351 #5 0x561eb2532907 in dsos__findnew_id util/dsos.c:358 #6 0x561eb25d267f in machine__findnew_dso_id util/machine.c:3191 #7 0x561eb25d26ce in machine__findnew_dso util/machine.c:3196 #8 0x561eb252778e in machine__findnew_kernel util/dso.c:1338 #9 0x561eb25bbfe0 in machine__get_kernel util/machine.c:969 #10 0x561eb25c0d10 in machine__create_kernel_maps util/machine.c:1545 #11 0x561eb231f3be in test__kallsyms_split tests/kallsyms-split.c:117 #12 0x561eb223b4d8 in run_test_child tests/builtin-test.c:340 #13 0x561eb218d899 in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/lib/subcmd/run-command.c:128 #14 0x561eb223d9b4 in start_test tests/builtin-test.c:545 #15 0x561eb223e920 in __cmd_test tests/builtin-test.c:648 #16 0x561eb22412d3 in cmd_test tests/builtin-test.c:850 #17 0x561eb214751d in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:349 #18 0x561eb2147e0e in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:401 #19 0x561eb2148364 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:445 #20 0x561eb2148b0b in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:553 #21 0x7f023e69aca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 328 byte(s) in 1 object(s) allocated from: #0 0x7f0248972610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x561eb25d8a0c in map__new2 util/map.c:226 #2 0x561eb25bda77 in __machine__create_kernel_maps util/machine.c:1184 #3 0x561eb25c0dbf in machine__create_kernel_maps util/machine.c:1553 #4 0x561eb231f3be in test__kallsyms_split tests/kallsyms-split.c:117 #5 0x561eb223b4d8 in run_test_child tests/builtin-test.c:340 #6 0x561eb218d899 in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/lib/subcmd/run-command.c:128 #7 0x561eb223d9b4 in start_test tests/builtin-test.c:545 #8 0x561eb223e920 in __cmd_test tests/builtin-test.c:648 #9 0x561eb22412d3 in cmd_test tests/builtin-test.c:850 #10 0x561eb214751d in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:349 #11 0x561eb2147e0e in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:401 #12 0x561eb2148364 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:445 #13 0x561eb2148b0b in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:553 #14 0x7f023e69aca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 56 byte(s) in 1 object(s) allocated from: #0 0x7f0248972c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x561eb253bbf5 in symbols__sort_by_name util/symbol.c:476 #2 0x561eb253cde4 in dso__sort_by_name util/symbol.c:641 #3 0x561eb25d98cd in map__find_symbol_by_name_idx util/map.c:399 #4 0x561eb25d99a9 in map__find_symbol_by_name util/map.c:408 #5 0x561eb25e1a9e in maps__find_symbol_by_name_cb util/maps.c:648 #6 0x561eb25e1678 in maps__for_each_map util/maps.c:591 #7 0x561eb25e1ef2 in maps__find_symbol_by_name util/maps.c:670 #8 0x561eb231e67a in machine__find_kernel_symbol_by_name /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/util/machine.h:254 #9 0x561eb231f70b in test__kallsyms_split tests/kallsyms-split.c:139 #10 0x561eb223b4d8 in run_test_child tests/builtin-test.c:340 #11 0x561eb218d899 in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/lib/subcmd/run-command.c:128 #12 0x561eb223d9b4 in start_test tests/builtin-test.c:545 #13 0x561eb223e920 in __cmd_test tests/builtin-test.c:648 #14 0x561eb22412d3 in cmd_test tests/builtin-test.c:850 #15 0x561eb214751d in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:349 #16 0x561eb2147e0e in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:401 #17 0x561eb2148364 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:445 #18 0x561eb2148b0b in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:553 #19 0x7f023e69aca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) Indirect leak of 8 byte(s) in 1 object(s) allocated from: #0 0x7f0248972c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x561eb252bc27 in dso__get util/dso.c:1618 #2 0x561eb25d7f31 in map__init util/map.c:112 #3 0x561eb25d8adb in map__new2 util/map.c:229 #4 0x561eb25bda77 in __machine__create_kernel_maps util/machine.c:1184 #5 0x561eb25c0dbf in machine__create_kernel_maps util/machine.c:1553 #6 0x561eb231f3be in test__kallsyms_split tests/kallsyms-split.c:117 #7 0x561eb223b4d8 in run_test_child tests/builtin-test.c:340 #8 0x561eb218d899 in start_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/lib/subcmd/run-command.c:128 #9 0x561eb223d9b4 in start_test tests/builtin-test.c:545 #10 0x561eb223e920 in __cmd_test tests/builtin-test.c:648 #11 0x561eb22412d3 in cmd_test tests/builtin-test.c:850 #12 0x561eb214751d in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:349 #13 0x561eb2147e0e in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:401 #14 0x561eb2148364 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:445 #15 0x561eb2148b0b in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:553 #16 0x7f023e69aca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) SUMMARY: AddressSanitizer: 1254 byte(s) leaked in 12 allocation(s). 69: split kallsyms : FAILED! 2025-12-05 13:12:41 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 70 -v 70: Test dwarf unwind : Running (1 active) --- start --- test child forked, pid 11211 unwind: test__arch_unwind_sample:ip = 0x556c96f42c7f (0x14a2c7f) unwind: access_mem addr 0x7ffe5467df60, val 7ffe5467e1a0, offset 48 unwind: access_mem addr 0x7ffe5467df68, val 556c96f4035a, offset 56 unwind: access_mem addr 0x7ffe5467e178, val 2, offset 584 unwind: access_mem addr 0x7ffe5467e1a0, val 7ffe5467e1d0, offset 624 unwind: access_mem addr 0x7ffe5467e180, val 8, offset 592 unwind: access_mem addr 0x7ffe5467e188, val 7f15cb83e2c0, offset 600 unwind: access_mem addr 0x7ffe5467e190, val 7f15dacccd80, offset 608 unwind: access_mem addr 0x7ffe5467e198, val 1, offset 616 unwind: access_mem addr 0x7ffe5467e1a8, val 556c96f40747, offset 632 unwind: test_dwarf_unwind__thread:ip = 0x556c96f40359 (0x14a0359) unwind: access_mem addr 0x7ffe5467e1d0, val 7f15cb83e2c8, offset 672 unwind: access_mem addr 0x7ffe5467e1d8, val 7f15d0ab01ac, offset 680 unwind: test_dwarf_unwind__compare:ip = 0x556c96f40746 (0x14a0746) unwind: access_mem addr 0x7ffe5467e1f8, val 7f15cb83e2c0, offset 712 unwind: access_mem addr 0x7ffe5467e200, val 2, offset 720 unwind: access_mem addr 0x7ffe5467e208, val 8, offset 728 unwind: access_mem addr 0x7ffe5467e210, val 7f15cb83e2e0, offset 736 unwind: access_mem addr 0x7ffe5467e218, val 556c96f40643, offset 744 unwind: access_mem addr 0x7ffe5467e220, val 7ffe5467e7c0, offset 752 unwind: access_mem addr 0x7ffe5467e228, val 7f15dad57834, offset 760 unwind: bsearch:ip = 0x7f15d0ab01ab (0x411ab) unwind: access_mem addr 0x7ffe5467e240, val 7f15cb83e280, offset 784 unwind: access_mem addr 0x7ffe5467e248, val 7ffe5467e350, offset 792 unwind: access_mem addr 0x7ffe5467e250, val fe2b9707c50, offset 800 unwind: access_mem addr 0x7ffe5467e258, val 7ffe5467e290, offset 808 unwind: access_mem addr 0x7ffe5467e260, val 7ffe5467e3f0, offset 816 unwind: access_mem addr 0x7ffe5467e268, val 556c96f4094a, offset 824 unwind: ___interceptor_bsearch:ip = 0x7f15dad57833 (0xdb833) unwind: access_mem addr 0x7ffe5467e338, val fe2b9762280, offset 1032 unwind: access_mem addr 0x7ffe5467e350, val 7ffe5467e380, offset 1056 unwind: access_mem addr 0x7ffe5467e340, val 7f15cbb11400, offset 1040 unwind: access_mem addr 0x7ffe5467e348, val 7f15cbb11660, offset 1048 unwind: access_mem addr 0x7ffe5467e358, val 556c96f409d6, offset 1064 unwind: test_dwarf_unwind__krava_3:ip = 0x556c96f40949 (0x14a0949) unwind: access_mem addr 0x7ffe5467e380, val 7ffe5467e3b0, offset 1104 unwind: access_mem addr 0x7ffe5467e388, val 556c96f40a19, offset 1112 unwind: test_dwarf_unwind__krava_2:ip = 0x556c96f409d5 (0x14a09d5) unwind: access_mem addr 0x7ffe5467e3b0, val 7ffe5467e670, offset 1152 unwind: access_mem addr 0x7ffe5467e3b8, val 556c96f40de6, offset 1160 unwind: test_dwarf_unwind__krava_1:ip = 0x556c96f40a18 (0x14a0a18) got: test_dwarf_unwind__krava_1 0x556c96f40a18, expecting test__dwarf_unwind unwind: failed with 'no error' got wrong number of stack entries 1 != 8 ---- end(-1) ---- ================================================================= ==11211==ERROR: LeakSanitizer: detected memory leaks Direct leak of 30952 byte(s) in 3 object(s) allocated from: #0 0x7f15dad70610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x7f15dab51808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 9280 byte(s) in 3 object(s) allocated from: #0 0x7f15dad70c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f15dab59550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 1873 byte(s) in 3 object(s) allocated from: #0 0x7f15dad70c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f15dab5a3fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) SUMMARY: AddressSanitizer: 42105 byte(s) leaked in 9 allocation(s). 70: Test dwarf unwind : FAILED! 2025-12-05 13:12:44 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 71 -v 71: Intel PT : 71.1: Intel PT packet decoder : Running (2 active) 71.1: Intel PT packet decoder : Ok 71.2: Intel PT hybrid CPU compatibility : Skip 2025-12-05 13:12:44 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 72 -v 72: x86 bp modify : Running (1 active) 72: x86 bp modify : Ok 2025-12-05 13:12:44 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 73 -v 73: AMD IBS via core pmu : Running (1 active) 73: AMD IBS via core pmu : Skip 2025-12-05 13:12:45 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 74 -v 74: x86 hybrid event parsing : Running (1 active) 74: x86 hybrid event parsing : Skip (not hybrid) 2025-12-05 13:12:45 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 75 -v 75: x86 topdown : Running (1 active) 75: x86 topdown : Ok 2025-12-05 13:12:45 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 76 -v 76: AMD IBS software filtering : Running (1 active) 76: AMD IBS software filtering : Skip 2025-12-05 13:12:46 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 77 -v 77: perf annotate basic tests : Running (1 active) --- start --- test child forked, pid 11281 14a0f79-14a108c l noploop perf does have symbol 'noploop' Basic perf annotate test Unexpected signal in test_basic ---- end(-1) ---- 77: perf annotate basic tests : FAILED! 2025-12-05 13:12:52 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 78 -v 78: Perf attribute expectations test : Running (1 active) 78: Perf attribute expectations test : Ok 2025-12-05 13:12:53 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 79 -v 79: build id cache operations : Running (1 active) 79: build id cache operations : Ok 2025-12-05 13:13:02 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 80 -v 80: daemon operations : Running (1 active) 80: daemon operations : Ok 2025-12-05 13:13:32 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 81 -v 81: perf diff tests : Running (1 active) 81: perf diff tests : Ok 2025-12-05 13:14:07 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 82 -v 82: DRM PMU : Running (1 active) 82: DRM PMU : Ok 2025-12-05 13:14:08 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 83 -v 83: perf ftrace tests : Running (1 active) 83: perf ftrace tests : Ok 2025-12-05 13:14:14 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 84 -v 84: perf header tests : Running (1 active) 84: perf header tests : Ok 2025-12-05 13:14:19 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 85 -v 85: python profiling with jitdump : Running (1 active) --- start --- test child forked, pid 12305 Run python with -Xperf_jit [ perf record: Woken up 10 times to write data ] ================================================================= ==12318==ERROR: AddressSanitizer: heap-use-after-free on address 0x5020000494f0 at pc 0x55c1d47d2797 bp 0x7ffded94f510 sp 0x7ffded94f508 READ of size 8 at 0x5020000494f0 thread T0 #0 0x55c1d47d2796 in map__start util/map.h:54 #1 0x55c1d47d2ae0 in map__dso_map_ip util/map.h:110 #2 0x55c1d47f0cfe in unwind_entry util/machine.c:2951 #3 0x55c1d4c834ec in unwind__get_entries util/unwind-libdw.c:321 #4 0x55c1d47f11cb in thread__resolve_callchain_unwind util/machine.c:2977 #5 0x55c1d47f131f in __thread__resolve_callchain util/machine.c:3004 #6 0x55c1d47c64ad in sample__for_each_callchain_node util/callchain.c:1818 #7 0x55c1d46118f6 in build_id__mark_dso_hit util/build-id.c:77 #8 0x55c1d4130ffe in process_sample_event /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/builtin-record.c:1504 #9 0x55c1d481bb4b in evlist__deliver_sample util/session.c:1276 #10 0x55c1d481d87d in machines__deliver_event util/session.c:1432 #11 0x55c1d481f49e in perf_session__deliver_event util/session.c:1523 #12 0x55c1d480ab62 in ordered_events__deliver_event util/session.c:134 #13 0x55c1d48483fe in do_flush util/ordered-events.c:245 #14 0x55c1d48492a3 in __ordered_events__flush util/ordered-events.c:324 #15 0x55c1d48497b4 in ordered_events__flush util/ordered-events.c:342 #16 0x55c1d481612f in perf_event__process_finished_round util/session.c:787 #17 0x55c1d482000a in perf_session__process_user_event util/session.c:1583 #18 0x55c1d4822d99 in perf_session__process_event util/session.c:1805 #19 0x55c1d482a652 in process_simple util/session.c:2399 #20 0x55c1d4829612 in reader__read_event util/session.c:2328 #21 0x55c1d4829fb8 in reader__process_events util/session.c:2377 #22 0x55c1d482ae41 in __perf_session__process_events util/session.c:2422 #23 0x55c1d482df57 in perf_session__process_events util/session.c:2593 #24 0x55c1d4131322 in process_buildids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/builtin-record.c:1534 #25 0x55c1d4135dea in record__finish_output /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/builtin-record.c:1858 #26 0x55c1d4143eb0 in __cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/builtin-record.c:2930 #27 0x55c1d4151a80 in cmd_record /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/builtin-record.c:4417 #28 0x55c1d436751d in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:349 #29 0x55c1d4367e0e in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:401 #30 0x55c1d4368364 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:445 #31 0x55c1d4368b0b in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf.c:553 #32 0x7faa256dcca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #33 0x7faa256dcd64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8) #34 0x55c1d40cd250 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf+0x102d250) (BuildId: 5b4f47ecba595f17a9d0c25acce9c62d9787082f) 0x5020000494f0 is located 0 bytes inside of 8-byte region [0x5020000494f0,0x5020000494f8) freed by thread T0 here: #0 0x7faa2f9b38f8 in free ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:52 #1 0x55c1d47f908b in map__put util/map.c:312 #2 0x55c1d45d8220 in __map__zput util/map.h:198 #3 0x55c1d45d8b07 in addr_location__exit util/addr_location.c:31 #4 0x55c1d4c8136f in entry util/unwind-libdw.c:147 #5 0x55c1d4c8268c in frame_callback util/unwind-libdw.c:259 #6 0x7faa2f741ae2 in dwfl_thread_getframes (/lib/x86_64-linux-gnu/libdw.so.1+0x78ae2) (BuildId: bafe9cb5bbbe6cee778d0d137730ea5c223d553e) previously allocated by thread T0 here: #0 0x7faa2f9b4c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x55c1d47fc57a in map__get util/map.h:188 #2 0x55c1d48060f7 in maps__find util/maps.c:1112 #3 0x55c1d46784a3 in thread__find_map util/event.c:688 #4 0x55c1d4678961 in thread__find_symbol util/event.c:724 #5 0x55c1d4c80334 in __report_module util/unwind-libdw.c:54 #6 0x55c1d4c80f99 in entry util/unwind-libdw.c:133 #7 0x55c1d4c8268c in frame_callback util/unwind-libdw.c:259 #8 0x7faa2f741ae2 in dwfl_thread_getframes (/lib/x86_64-linux-gnu/libdw.so.1+0x78ae2) (BuildId: bafe9cb5bbbe6cee778d0d137730ea5c223d553e) SUMMARY: AddressSanitizer: heap-use-after-free util/map.h:54 in map__start Shadow bytes around the buggy address: 0x502000049200: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x502000049280: fa fa fd fa fa fa 00 fa fa fa 00 fa fa fa fd fa 0x502000049300: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa 0x502000049380: fa fa 00 fa fa fa 00 fa fa fa fd fa fa fa fd fa 0x502000049400: fa fa fd fa fa fa fd fa fa fa fd fa fa fa fd fa =>0x502000049480: fa fa fd fa fa fa fd fa fa fa fd fa fa fa[fd]fa 0x502000049500: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x502000049580: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x502000049600: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x502000049680: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x502000049700: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==12318==ABORTING Error: failed to process sample Generate JIT-ed DSOs using perf inject WARNING: The /tmp/__perf_test.perf.data.CUwFEg file's data size field is 0 which is unexpected. Was the 'perf record' command properly terminated? Add JIT-ed DSOs to the build-ID cache Couldn't add /tmp/jitted--*.so: No such file or directory Check the symbol containing the function/module name zero-sized data (/tmp/__perf_test.perf.data.CUwFEg.jit), nothing to do! Found 0 matching lines Remove JIT-ed DSOs from the build-ID cache Cleaning up files... ---- end(-1) ---- 85: python profiling with jitdump : FAILED! 2025-12-05 13:14:22 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 86 -v 86: perf list tests : Running (1 active) 86: perf list tests : Ok 2025-12-05 13:14:24 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 87 -v 87: kernel lock contention analysis test : Running (1 active) 87: kernel lock contention analysis test : Ok 2025-12-05 13:15:24 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 88 -v 88: perf report --hierarchy : Running (1 active) --- start --- test child forked, pid 13388 perf report --hierarchy Linux [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.017 MB /tmp/perf-test-report.5qqFpwvPr6/perf-report-hierarchy-perf.data (38 samples) ] Warning: Kernel address maps (/proc/{kallsyms,modules}) were restricted. Check /proc/sys/kernel/kptr_restrict before running 'perf record'. If some relocation was applied (e.g. kexec) symbols may be misresolved. Samples in kernel modules can't be resolved as well. ================================================================= ==13405==ERROR: LeakSanitizer: detected memory leaks Direct leak of 4424 byte(s) in 1 object(s) allocated from: #0 0x7f33cdddd610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77 #1 0x7f33cdbbe808 (/lib/x86_64-linux-gnu/libelf.so.1+0x3808) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 1280 byte(s) in 1 object(s) allocated from: #0 0x7f33cddddc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f33cdbc6550 (/lib/x86_64-linux-gnu/libelf.so.1+0xb550) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) Indirect leak of 190 byte(s) in 1 object(s) allocated from: #0 0x7f33cddddc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69 #1 0x7f33cdbc73fa (/lib/x86_64-linux-gnu/libelf.so.1+0xc3fa) (BuildId: d6a40be9eadcbcb0562b7bb13bbe81166e82cc40) SUMMARY: AddressSanitizer: 5894 byte(s) leaked in 3 allocation(s). --- Cleaning up --- ---- end(-1) ---- 88: perf report --hierarchy : FAILED! 2025-12-05 13:15:28 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 89 -v 89: perf pipe recording and injection test : Running (1 active) 89: perf pipe recording and injection test : Ok 2025-12-05 13:16:52 sudo /usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/perf test 90 -v 90: 'import perf' in python : Running (1 active) --- start --- test child forked, pid 13980 Testing 'import perf' with: import sys sys.path.insert(0, '/usr/src/linux-perf-x86_64-rhel-9.4-bpf-34e271ae55382fbdb04f3e13e856457d8e0dee45/tools/perf/python') import perf print('success!') ==13990==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD. ---- end(-1) ---- 90: 'import perf' in python : FAILED!