From: kernel test robot <oliver.sang@intel.com>
To: Swapnil Sapkal <swapnil.sapkal@amd.com>
Cc: <oe-lkp@lists.linux.dev>, <lkp@intel.com>,
<linux-perf-users@vger.kernel.org>,
<linux-kernel@vger.kernel.org>, <peterz@infradead.org>,
<mingo@redhat.com>, <acme@kernel.org>, <namhyung@kernel.org>,
<irogers@google.com>, <james.clark@arm.com>,
<ravi.bangoria@amd.com>, <swapnil.sapkal@amd.com>,
<yu.c.chen@intel.com>, <mark.rutland@arm.com>,
<alexander.shishkin@linux.intel.com>, <jolsa@kernel.org>,
<rostedt@goodmis.org>, <vincent.guittot@linaro.org>,
<adrian.hunter@intel.com>, <kan.liang@linux.intel.com>,
<gautham.shenoy@amd.com>, <kprateek.nayak@amd.com>,
<juri.lelli@redhat.com>, <yangjihong@bytedance.com>,
<void@manifault.com>, <tj@kernel.org>, <sshegde@linux.ibm.com>,
<ctshao@google.com>, <quic_zhonhan@quicinc.com>,
<thomas.falcon@intel.com>, <blakejones@google.com>,
<ashelat@redhat.com>, <leo.yan@arm.com>, <dvyukov@google.com>,
<ak@linux.intel.com>, <yujie.liu@intel.com>,
<graham.woodward@arm.com>, <ben.gainey@arm.com>,
<vineethr@linux.ibm.com>, <tim.c.chen@linux.intel.com>,
<linux@treblig.org>, <santosh.shukla@amd.com>,
<sandipan.das@amd.com>, <oliver.sang@intel.com>
Subject: Re: [PATCH v5 02/10] perf header: Support CPU DOMAIN relation info
Date: Mon, 26 Jan 2026 22:46:56 +0800 [thread overview]
Message-ID: <202601262235.ee84b79e-lkp@intel.com> (raw)
In-Reply-To: <20260119175833.340369-3-swapnil.sapkal@amd.com>
Hello,
kernel test robot noticed "kmsg.sanitizer.direct_leak/calloc/zalloc/process_cpu_domain_info/perf_file_section__process/perf_header__process_sections/perf_session__read_header" on:
commit: 6f993818d20c79b874f546cec1dcce40a9927c7b ("[PATCH v5 02/10] perf header: Support CPU DOMAIN relation info")
url: https://github.com/intel-lab-lkp/linux/commits/Swapnil-Sapkal/tools-lib-Add-list_is_first/20260120-021007
base: https://git.kernel.org/cgit/linux/kernel/git/perf/perf-tools-next.git perf-tools-next
patch link: https://lore.kernel.org/all/20260119175833.340369-3-swapnil.sapkal@amd.com/
patch subject: [PATCH v5 02/10] perf header: Support CPU DOMAIN relation info
in testcase: perf-sanity-tests
version:
with following parameters:
perf_compiler: gcc
group: group-02
config: x86_64-rhel-9.4-bpf
compiler: gcc-14
test machine: 256 threads 4 sockets INTEL(R) XEON(R) PLATINUM 8592+ (Emerald Rapids) with 256G memory
(please refer to attached dmesg/kmsg for entire log/backtrace)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202601262235.ee84b79e-lkp@intel.com
we found below tests impacted.
=========================================================================================
tbox_group/testcase/rootfs/kconfig/compiler/perf_compiler/group:
lkp-emr-2sp1/perf-sanity-tests/debian-13-x86_64-20250902.cgz/x86_64-rhel-9.4-bpf/gcc-14/gcc/group-02
4d991caa3f1e36c3 6f993818d20c79b874f546cec1d
---------------- ---------------------------
fail:runs %reproduction fail:runs
| | |
:6 100% 6:6 perf-sanity-tests.build_id_cache_operations.fail
:6 100% 6:6 perf-sanity-tests.perf_evlist_tests.fail
:6 100% 6:6 perf-sanity-tests.perf_header_tests.fail
2026-01-24 13:53:34 sudo ASAN_OPTIONS=fast_unwind_on_malloc=0 /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf test 80 -v
80: build id cache operations : Running (1 active)
--- start ---
test child forked, pid 14171
WARNING: perf not built with libbfd. PE binaries will not be tested.
WARNING: wine not found. PE binaries will not be run.
test binaries: /tmp/perf_buildid_test.ex.SHA1.fdj /tmp/perf_buildid_test.ex.MD5.U8m /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/tests/shell/../pe-file.exe
DEBUGINFOD_URLS=
Downloading debug info with build id 89e03056b3c150ac13d49ad72e7ccfe9e8e1fb11
Adding 89e03056b3c150ac13d49ad72e7ccfe9e8e1fb11 /tmp/perf_buildid_test.ex.SHA1.fdj: Ok
build id: 89e03056b3c150ac13d49ad72e7ccfe9e8e1fb11
link: /tmp/perf_buildid_test.debug.PIE/.build-id/89/e03056b3c150ac13d49ad72e7ccfe9e8e1fb11
file: /tmp/perf_buildid_test.debug.PIE/.build-id/89/../../tmp/perf_buildid_test.ex.SHA1.fdj/89e03056b3c150ac13d49ad72e7ccfe9e8e1fb11/elf
OK for /tmp/perf_buildid_test.ex.SHA1.fdj
DEBUGINFOD_URLS=
Downloading debug info with build id ee26502b2cb816e82d08fd203ebf46b4
Adding ee26502b2cb816e82d08fd203ebf46b4 /tmp/perf_buildid_test.ex.MD5.U8m: Ok
build id: ee26502b2cb816e82d08fd203ebf46b4
link: /tmp/perf_buildid_test.debug.dem/.build-id/ee/26502b2cb816e82d08fd203ebf46b4
file: /tmp/perf_buildid_test.debug.dem/.build-id/ee/../../tmp/perf_buildid_test.ex.MD5.U8m/ee26502b2cb816e82d08fd203ebf46b4/elf
OK for /tmp/perf_buildid_test.ex.MD5.U8m
running: perf record /tmp/perf_buildid_test.ex.SHA1.fdj
build id: 89e03056b3c150ac13d49ad72e7ccfe9e8e1fb11
link: /tmp/perf_buildid_test.debug.T5w/.build-id/89/e03056b3c150ac13d49ad72e7ccfe9e8e1fb11
file: /tmp/perf_buildid_test.debug.T5w/.build-id/89/../../tmp/perf_buildid_test.ex.SHA1.fdj/89e03056b3c150ac13d49ad72e7ccfe9e8e1fb11/elf
=================================================================
==14272==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 131072 byte(s) in 1024 object(s) allocated from:
#0 0x7f3a7fd98c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x563053942c76 in do_read_string util/header.c:261
#2 0x563053967c30 in process_cpu_domain_info util/header.c:3653
#3 0x56305396f9f3 in perf_file_section__process util/header.c:4386
#4 0x56305396cfb5 in perf_header__process_sections util/header.c:4144
#5 0x563053971ef1 in perf_session__read_header util/header.c:4620
#6 0x5630539cd802 in perf_session__open util/session.c:54
#7 0x5630539cea98 in __perf_session__new util/session.c:168
#8 0x5630532b6d43 in perf_session__new util/session.h:116
#9 0x5630532b798b in perf_session__list_build_ids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-buildid-list.c:113
#10 0x5630532b8891 in cmd_buildid_list /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-buildid-list.c:175
#11 0x5630535113bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x563053511b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x5630535120e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x563053512851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f3a75ac0ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f3a75ac0d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x563053277310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 73728 byte(s) in 1024 object(s) allocated from:
#0 0x7f3a7fd98610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x56305353dd0c in zalloc ../../lib/zalloc.c:8
#2 0x563053967c7f in process_cpu_domain_info util/header.c:3657
#3 0x56305396f9f3 in perf_file_section__process util/header.c:4386
#4 0x56305396cfb5 in perf_header__process_sections util/header.c:4144
#5 0x563053971ef1 in perf_session__read_header util/header.c:4620
#6 0x5630539cd802 in perf_session__open util/session.c:54
#7 0x5630539cea98 in __perf_session__new util/session.c:168
#8 0x5630532b6d43 in perf_session__new util/session.h:116
#9 0x5630532b798b in perf_session__list_build_ids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-buildid-list.c:113
#10 0x5630532b8891 in cmd_buildid_list /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-buildid-list.c:175
#11 0x5630535113bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x563053511b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x5630535120e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x563053512851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f3a75ac0ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f3a75ac0d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x563053277310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 65536 byte(s) in 1024 object(s) allocated from:
#0 0x7f3a7fd98c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x563053942c76 in do_read_string util/header.c:261
#2 0x563053967a1c in process_cpu_domain_info util/header.c:3642
#3 0x56305396f9f3 in perf_file_section__process util/header.c:4386
#4 0x56305396cfb5 in perf_header__process_sections util/header.c:4144
#5 0x563053971ef1 in perf_session__read_header util/header.c:4620
#6 0x5630539cd802 in perf_session__open util/session.c:54
#7 0x5630539cea98 in __perf_session__new util/session.c:168
#8 0x5630532b6d43 in perf_session__new util/session.h:116
#9 0x5630532b798b in perf_session__list_build_ids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-buildid-list.c:113
#10 0x5630532b8891 in cmd_buildid_list /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-buildid-list.c:175
#11 0x5630535113bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x563053511b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x5630535120e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x563053512851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f3a75ac0ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f3a75ac0d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x563053277310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 65536 byte(s) in 1024 object(s) allocated from:
#0 0x7f3a7fd98c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x563053942c76 in do_read_string util/header.c:261
#2 0x563053967e44 in process_cpu_domain_info util/header.c:3662
#3 0x56305396f9f3 in perf_file_section__process util/header.c:4386
#4 0x56305396cfb5 in perf_header__process_sections util/header.c:4144
#5 0x563053971ef1 in perf_session__read_header util/header.c:4620
#6 0x5630539cd802 in perf_session__open util/session.c:54
#7 0x5630539cea98 in __perf_session__new util/session.c:168
#8 0x5630532b6d43 in perf_session__new util/session.h:116
#9 0x5630532b798b in perf_session__list_build_ids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-buildid-list.c:113
#10 0x5630532b8891 in cmd_buildid_list /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-buildid-list.c:175
#11 0x5630535113bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x563053511b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x5630535120e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x563053512851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f3a75ac0ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f3a75ac0d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x563053277310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 10532 byte(s) in 1024 object(s) allocated from:
#0 0x7f3a7fd98610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x56305353dd0c in zalloc ../../lib/zalloc.c:8
#2 0x563053967e93 in process_cpu_domain_info util/header.c:3666
#3 0x56305396f9f3 in perf_file_section__process util/header.c:4386
#4 0x56305396cfb5 in perf_header__process_sections util/header.c:4144
#5 0x563053971ef1 in perf_session__read_header util/header.c:4620
#6 0x5630539cd802 in perf_session__open util/session.c:54
#7 0x5630539cea98 in __perf_session__new util/session.c:168
#8 0x5630532b6d43 in perf_session__new util/session.h:116
#9 0x5630532b798b in perf_session__list_build_ids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-buildid-list.c:113
#10 0x5630532b8891 in cmd_buildid_list /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-buildid-list.c:175
#11 0x5630535113bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x563053511b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x5630535120e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x563053512851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f3a75ac0ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f3a75ac0d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x563053277310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 4352 byte(s) in 1024 object(s) allocated from:
#0 0x7f3a7fd98610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x56305353dd0c in zalloc ../../lib/zalloc.c:8
#2 0x563053967a6b in process_cpu_domain_info util/header.c:3646
#3 0x56305396f9f3 in perf_file_section__process util/header.c:4386
#4 0x56305396cfb5 in perf_header__process_sections util/header.c:4144
#5 0x563053971ef1 in perf_session__read_header util/header.c:4620
#6 0x5630539cd802 in perf_session__open util/session.c:54
#7 0x5630539cea98 in __perf_session__new util/session.c:168
#8 0x5630532b6d43 in perf_session__new util/session.h:116
#9 0x5630532b798b in perf_session__list_build_ids /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-buildid-list.c:113
#10 0x5630532b8891 in cmd_buildid_list /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-buildid-list.c:175
#11 0x5630535113bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x563053511b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x5630535120e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x563053512851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f3a75ac0ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f3a75ac0d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x563053277310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
SUMMARY: AddressSanitizer: 350756 byte(s) leaked in 6144 allocation(s).
failed: 89e03056b3c150ac13d49ad72e7ccfe9e8e1fb11 is not reported by "perf buildid-list -i /tmp/perf_buildid_test.data.9pp"
Unexpected signal in check
---- end(-1) ----
80: build id cache operations : FAILED!
...
2026-01-24 13:55:59 sudo ASAN_OPTIONS=fast_unwind_on_malloc=0 /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf test 85 -v
85: perf evlist tests : Running (1 active)
--- start ---
test child forked, pid 15479
Simple evlist test
=================================================================
==15499==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 131072 byte(s) in 1024 object(s) allocated from:
#0 0x7f3c9bf85c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x55c6557f9c76 in do_read_string util/header.c:261
#2 0x55c65581ec30 in process_cpu_domain_info util/header.c:3653
#3 0x55c6558269f3 in perf_file_section__process util/header.c:4386
#4 0x55c655823fb5 in perf_header__process_sections util/header.c:4144
#5 0x55c655828ef1 in perf_session__read_header util/header.c:4620
#6 0x55c655884802 in perf_session__open util/session.c:54
#7 0x55c655885a98 in __perf_session__new util/session.c:168
#8 0x55c6551528d3 in perf_session__new util/session.h:116
#9 0x55c655152d1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x55c655153e1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x55c6553c83bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x55c6553c8b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x55c6553c90e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x55c6553c9851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f3c91cadca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f3c91cadd64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x55c65512e310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 73728 byte(s) in 1024 object(s) allocated from:
#0 0x7f3c9bf85610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x55c6553f4d0c in zalloc ../../lib/zalloc.c:8
#2 0x55c65581ec7f in process_cpu_domain_info util/header.c:3657
#3 0x55c6558269f3 in perf_file_section__process util/header.c:4386
#4 0x55c655823fb5 in perf_header__process_sections util/header.c:4144
#5 0x55c655828ef1 in perf_session__read_header util/header.c:4620
#6 0x55c655884802 in perf_session__open util/session.c:54
#7 0x55c655885a98 in __perf_session__new util/session.c:168
#8 0x55c6551528d3 in perf_session__new util/session.h:116
#9 0x55c655152d1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x55c655153e1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x55c6553c83bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x55c6553c8b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x55c6553c90e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x55c6553c9851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f3c91cadca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f3c91cadd64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x55c65512e310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 65536 byte(s) in 1024 object(s) allocated from:
#0 0x7f3c9bf85c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x55c6557f9c76 in do_read_string util/header.c:261
#2 0x55c65581ea1c in process_cpu_domain_info util/header.c:3642
#3 0x55c6558269f3 in perf_file_section__process util/header.c:4386
#4 0x55c655823fb5 in perf_header__process_sections util/header.c:4144
#5 0x55c655828ef1 in perf_session__read_header util/header.c:4620
#6 0x55c655884802 in perf_session__open util/session.c:54
#7 0x55c655885a98 in __perf_session__new util/session.c:168
#8 0x55c6551528d3 in perf_session__new util/session.h:116
#9 0x55c655152d1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x55c655153e1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x55c6553c83bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x55c6553c8b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x55c6553c90e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x55c6553c9851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f3c91cadca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f3c91cadd64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x55c65512e310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 65536 byte(s) in 1024 object(s) allocated from:
#0 0x7f3c9bf85c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x55c6557f9c76 in do_read_string util/header.c:261
#2 0x55c65581ee44 in process_cpu_domain_info util/header.c:3662
#3 0x55c6558269f3 in perf_file_section__process util/header.c:4386
#4 0x55c655823fb5 in perf_header__process_sections util/header.c:4144
#5 0x55c655828ef1 in perf_session__read_header util/header.c:4620
#6 0x55c655884802 in perf_session__open util/session.c:54
#7 0x55c655885a98 in __perf_session__new util/session.c:168
#8 0x55c6551528d3 in perf_session__new util/session.h:116
#9 0x55c655152d1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x55c655153e1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x55c6553c83bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x55c6553c8b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x55c6553c90e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x55c6553c9851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f3c91cadca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f3c91cadd64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x55c65512e310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 10532 byte(s) in 1024 object(s) allocated from:
#0 0x7f3c9bf85610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x55c6553f4d0c in zalloc ../../lib/zalloc.c:8
#2 0x55c65581ee93 in process_cpu_domain_info util/header.c:3666
#3 0x55c6558269f3 in perf_file_section__process util/header.c:4386
#4 0x55c655823fb5 in perf_header__process_sections util/header.c:4144
#5 0x55c655828ef1 in perf_session__read_header util/header.c:4620
#6 0x55c655884802 in perf_session__open util/session.c:54
#7 0x55c655885a98 in __perf_session__new util/session.c:168
#8 0x55c6551528d3 in perf_session__new util/session.h:116
#9 0x55c655152d1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x55c655153e1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x55c6553c83bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x55c6553c8b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x55c6553c90e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x55c6553c9851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f3c91cadca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f3c91cadd64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x55c65512e310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 4352 byte(s) in 1024 object(s) allocated from:
#0 0x7f3c9bf85610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x55c6553f4d0c in zalloc ../../lib/zalloc.c:8
#2 0x55c65581ea6b in process_cpu_domain_info util/header.c:3646
#3 0x55c6558269f3 in perf_file_section__process util/header.c:4386
#4 0x55c655823fb5 in perf_header__process_sections util/header.c:4144
#5 0x55c655828ef1 in perf_session__read_header util/header.c:4620
#6 0x55c655884802 in perf_session__open util/session.c:54
#7 0x55c655885a98 in __perf_session__new util/session.c:168
#8 0x55c6551528d3 in perf_session__new util/session.h:116
#9 0x55c655152d1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x55c655153e1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x55c6553c83bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x55c6553c8b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x55c6553c90e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x55c6553c9851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f3c91cadca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f3c91cadd64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x55c65512e310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
SUMMARY: AddressSanitizer: 350756 byte(s) leaked in 6144 allocation(s).
Simple evlist [Failed to list event]
Group evlist test
=================================================================
==15528==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 131072 byte(s) in 1024 object(s) allocated from:
#0 0x7efcde5dfc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x56040444bc76 in do_read_string util/header.c:261
#2 0x560404470c30 in process_cpu_domain_info util/header.c:3653
#3 0x5604044789f3 in perf_file_section__process util/header.c:4386
#4 0x560404475fb5 in perf_header__process_sections util/header.c:4144
#5 0x56040447aef1 in perf_session__read_header util/header.c:4620
#6 0x5604044d6802 in perf_session__open util/session.c:54
#7 0x5604044d7a98 in __perf_session__new util/session.c:168
#8 0x560403da48d3 in perf_session__new util/session.h:116
#9 0x560403da4d1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x560403da5e1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x56040401a3bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x56040401ab8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x56040401b0e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x56040401b851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7efcd4307ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7efcd4307d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x560403d80310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 73728 byte(s) in 1024 object(s) allocated from:
#0 0x7efcde5df610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x560404046d0c in zalloc ../../lib/zalloc.c:8
#2 0x560404470c7f in process_cpu_domain_info util/header.c:3657
#3 0x5604044789f3 in perf_file_section__process util/header.c:4386
#4 0x560404475fb5 in perf_header__process_sections util/header.c:4144
#5 0x56040447aef1 in perf_session__read_header util/header.c:4620
#6 0x5604044d6802 in perf_session__open util/session.c:54
#7 0x5604044d7a98 in __perf_session__new util/session.c:168
#8 0x560403da48d3 in perf_session__new util/session.h:116
#9 0x560403da4d1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x560403da5e1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x56040401a3bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x56040401ab8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x56040401b0e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x56040401b851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7efcd4307ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7efcd4307d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x560403d80310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 65536 byte(s) in 1024 object(s) allocated from:
#0 0x7efcde5dfc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x56040444bc76 in do_read_string util/header.c:261
#2 0x560404470a1c in process_cpu_domain_info util/header.c:3642
#3 0x5604044789f3 in perf_file_section__process util/header.c:4386
#4 0x560404475fb5 in perf_header__process_sections util/header.c:4144
#5 0x56040447aef1 in perf_session__read_header util/header.c:4620
#6 0x5604044d6802 in perf_session__open util/session.c:54
#7 0x5604044d7a98 in __perf_session__new util/session.c:168
#8 0x560403da48d3 in perf_session__new util/session.h:116
#9 0x560403da4d1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x560403da5e1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x56040401a3bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x56040401ab8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x56040401b0e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x56040401b851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7efcd4307ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7efcd4307d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x560403d80310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 65536 byte(s) in 1024 object(s) allocated from:
#0 0x7efcde5dfc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x56040444bc76 in do_read_string util/header.c:261
#2 0x560404470e44 in process_cpu_domain_info util/header.c:3662
#3 0x5604044789f3 in perf_file_section__process util/header.c:4386
#4 0x560404475fb5 in perf_header__process_sections util/header.c:4144
#5 0x56040447aef1 in perf_session__read_header util/header.c:4620
#6 0x5604044d6802 in perf_session__open util/session.c:54
#7 0x5604044d7a98 in __perf_session__new util/session.c:168
#8 0x560403da48d3 in perf_session__new util/session.h:116
#9 0x560403da4d1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x560403da5e1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x56040401a3bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x56040401ab8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x56040401b0e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x56040401b851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7efcd4307ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7efcd4307d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x560403d80310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 10532 byte(s) in 1024 object(s) allocated from:
#0 0x7efcde5df610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x560404046d0c in zalloc ../../lib/zalloc.c:8
#2 0x560404470e93 in process_cpu_domain_info util/header.c:3666
#3 0x5604044789f3 in perf_file_section__process util/header.c:4386
#4 0x560404475fb5 in perf_header__process_sections util/header.c:4144
#5 0x56040447aef1 in perf_session__read_header util/header.c:4620
#6 0x5604044d6802 in perf_session__open util/session.c:54
#7 0x5604044d7a98 in __perf_session__new util/session.c:168
#8 0x560403da48d3 in perf_session__new util/session.h:116
#9 0x560403da4d1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x560403da5e1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x56040401a3bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x56040401ab8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x56040401b0e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x56040401b851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7efcd4307ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7efcd4307d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x560403d80310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 4352 byte(s) in 1024 object(s) allocated from:
#0 0x7efcde5df610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x560404046d0c in zalloc ../../lib/zalloc.c:8
#2 0x560404470a6b in process_cpu_domain_info util/header.c:3646
#3 0x5604044789f3 in perf_file_section__process util/header.c:4386
#4 0x560404475fb5 in perf_header__process_sections util/header.c:4144
#5 0x56040447aef1 in perf_session__read_header util/header.c:4620
#6 0x5604044d6802 in perf_session__open util/session.c:54
#7 0x5604044d7a98 in __perf_session__new util/session.c:168
#8 0x560403da48d3 in perf_session__new util/session.h:116
#9 0x560403da4d1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x560403da5e1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x56040401a3bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x56040401ab8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x56040401b0e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x56040401b851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7efcd4307ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7efcd4307d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x560403d80310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
SUMMARY: AddressSanitizer: 350756 byte(s) leaked in 6144 allocation(s).
Group evlist [Failed to list event group]
Event configuration evlist test
=================================================================
==15547==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 131072 byte(s) in 1024 object(s) allocated from:
#0 0x7f6169abfc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x559f7b345c76 in do_read_string util/header.c:261
#2 0x559f7b36ac30 in process_cpu_domain_info util/header.c:3653
#3 0x559f7b3729f3 in perf_file_section__process util/header.c:4386
#4 0x559f7b36ffb5 in perf_header__process_sections util/header.c:4144
#5 0x559f7b374ef1 in perf_session__read_header util/header.c:4620
#6 0x559f7b3d0802 in perf_session__open util/session.c:54
#7 0x559f7b3d1a98 in __perf_session__new util/session.c:168
#8 0x559f7ac9e8d3 in perf_session__new util/session.h:116
#9 0x559f7ac9ed1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x559f7ac9fe1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x559f7af143bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x559f7af14b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x559f7af150e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x559f7af15851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f615f7e7ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f615f7e7d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x559f7ac7a310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 73728 byte(s) in 1024 object(s) allocated from:
#0 0x7f6169abf610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x559f7af40d0c in zalloc ../../lib/zalloc.c:8
#2 0x559f7b36ac7f in process_cpu_domain_info util/header.c:3657
#3 0x559f7b3729f3 in perf_file_section__process util/header.c:4386
#4 0x559f7b36ffb5 in perf_header__process_sections util/header.c:4144
#5 0x559f7b374ef1 in perf_session__read_header util/header.c:4620
#6 0x559f7b3d0802 in perf_session__open util/session.c:54
#7 0x559f7b3d1a98 in __perf_session__new util/session.c:168
#8 0x559f7ac9e8d3 in perf_session__new util/session.h:116
#9 0x559f7ac9ed1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x559f7ac9fe1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x559f7af143bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x559f7af14b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x559f7af150e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x559f7af15851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f615f7e7ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f615f7e7d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x559f7ac7a310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 65536 byte(s) in 1024 object(s) allocated from:
#0 0x7f6169abfc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x559f7b345c76 in do_read_string util/header.c:261
#2 0x559f7b36aa1c in process_cpu_domain_info util/header.c:3642
#3 0x559f7b3729f3 in perf_file_section__process util/header.c:4386
#4 0x559f7b36ffb5 in perf_header__process_sections util/header.c:4144
#5 0x559f7b374ef1 in perf_session__read_header util/header.c:4620
#6 0x559f7b3d0802 in perf_session__open util/session.c:54
#7 0x559f7b3d1a98 in __perf_session__new util/session.c:168
#8 0x559f7ac9e8d3 in perf_session__new util/session.h:116
#9 0x559f7ac9ed1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x559f7ac9fe1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x559f7af143bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x559f7af14b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x559f7af150e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x559f7af15851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f615f7e7ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f615f7e7d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x559f7ac7a310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 65536 byte(s) in 1024 object(s) allocated from:
#0 0x7f6169abfc57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x559f7b345c76 in do_read_string util/header.c:261
#2 0x559f7b36ae44 in process_cpu_domain_info util/header.c:3662
#3 0x559f7b3729f3 in perf_file_section__process util/header.c:4386
#4 0x559f7b36ffb5 in perf_header__process_sections util/header.c:4144
#5 0x559f7b374ef1 in perf_session__read_header util/header.c:4620
#6 0x559f7b3d0802 in perf_session__open util/session.c:54
#7 0x559f7b3d1a98 in __perf_session__new util/session.c:168
#8 0x559f7ac9e8d3 in perf_session__new util/session.h:116
#9 0x559f7ac9ed1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x559f7ac9fe1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x559f7af143bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x559f7af14b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x559f7af150e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x559f7af15851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f615f7e7ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f615f7e7d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x559f7ac7a310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 10532 byte(s) in 1024 object(s) allocated from:
#0 0x7f6169abf610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x559f7af40d0c in zalloc ../../lib/zalloc.c:8
#2 0x559f7b36ae93 in process_cpu_domain_info util/header.c:3666
#3 0x559f7b3729f3 in perf_file_section__process util/header.c:4386
#4 0x559f7b36ffb5 in perf_header__process_sections util/header.c:4144
#5 0x559f7b374ef1 in perf_session__read_header util/header.c:4620
#6 0x559f7b3d0802 in perf_session__open util/session.c:54
#7 0x559f7b3d1a98 in __perf_session__new util/session.c:168
#8 0x559f7ac9e8d3 in perf_session__new util/session.h:116
#9 0x559f7ac9ed1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x559f7ac9fe1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x559f7af143bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x559f7af14b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x559f7af150e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x559f7af15851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f615f7e7ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f615f7e7d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x559f7ac7a310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 4352 byte(s) in 1024 object(s) allocated from:
#0 0x7f6169abf610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x559f7af40d0c in zalloc ../../lib/zalloc.c:8
#2 0x559f7b36aa6b in process_cpu_domain_info util/header.c:3646
#3 0x559f7b3729f3 in perf_file_section__process util/header.c:4386
#4 0x559f7b36ffb5 in perf_header__process_sections util/header.c:4144
#5 0x559f7b374ef1 in perf_session__read_header util/header.c:4620
#6 0x559f7b3d0802 in perf_session__open util/session.c:54
#7 0x559f7b3d1a98 in __perf_session__new util/session.c:168
#8 0x559f7ac9e8d3 in perf_session__new util/session.h:116
#9 0x559f7ac9ed1f in __cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:46
#10 0x559f7ac9fe1a in cmd_evlist /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-evlist.c:101
#11 0x559f7af143bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#12 0x559f7af14b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#13 0x559f7af150e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#14 0x559f7af15851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#15 0x7f615f7e7ca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x7f615f7e7d64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#17 0x559f7ac7a310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
SUMMARY: AddressSanitizer: 350756 byte(s) leaked in 6144 allocation(s).
Event configuration evlist [Failed to list verbose info]
---- end(-1) ----
85: perf evlist tests : FAILED!
...
2026-01-24 13:56:27 sudo ASAN_OPTIONS=fast_unwind_on_malloc=0 /usr/src/linux-perf-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf test 87 -v
87: perf header tests : Running (1 active)
--- start ---
test child forked, pid 15636
Test perf header file
[ perf record: Woken up 2 times to write data ]
[ perf record: Captured and wrote 0.213 MB /tmp/__perf_test_header.perf.data.LAgPK (4662 samples) ]
=================================================================
==15661==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 131072 byte(s) in 1024 object(s) allocated from:
#0 0x7f5bd6234c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x55684cf14c76 in do_read_string util/header.c:261
#2 0x55684cf39c30 in process_cpu_domain_info util/header.c:3653
#3 0x55684cf419f3 in perf_file_section__process util/header.c:4386
#4 0x55684cf3efb5 in perf_header__process_sections util/header.c:4144
#5 0x55684cf43ef1 in perf_session__read_header util/header.c:4620
#6 0x55684cf9f802 in perf_session__open util/session.c:54
#7 0x55684cfa0a98 in __perf_session__new util/session.c:168
#8 0x55684c8cf199 in perf_session__new util/session.h:116
#9 0x55684c8e5d65 in cmd_report /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-report.c:1629
#10 0x55684cae33bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#11 0x55684cae3b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#12 0x55684cae40e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#13 0x55684cae4851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#14 0x7f5bcbf5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#15 0x7f5bcbf5cd64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x55684c849310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 73728 byte(s) in 1024 object(s) allocated from:
#0 0x7f5bd6234610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x55684cb0fd0c in zalloc ../../lib/zalloc.c:8
#2 0x55684cf39c7f in process_cpu_domain_info util/header.c:3657
#3 0x55684cf419f3 in perf_file_section__process util/header.c:4386
#4 0x55684cf3efb5 in perf_header__process_sections util/header.c:4144
#5 0x55684cf43ef1 in perf_session__read_header util/header.c:4620
#6 0x55684cf9f802 in perf_session__open util/session.c:54
#7 0x55684cfa0a98 in __perf_session__new util/session.c:168
#8 0x55684c8cf199 in perf_session__new util/session.h:116
#9 0x55684c8e5d65 in cmd_report /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-report.c:1629
#10 0x55684cae33bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#11 0x55684cae3b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#12 0x55684cae40e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#13 0x55684cae4851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#14 0x7f5bcbf5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#15 0x7f5bcbf5cd64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x55684c849310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 65536 byte(s) in 1024 object(s) allocated from:
#0 0x7f5bd6234c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x55684cf14c76 in do_read_string util/header.c:261
#2 0x55684cf39a1c in process_cpu_domain_info util/header.c:3642
#3 0x55684cf419f3 in perf_file_section__process util/header.c:4386
#4 0x55684cf3efb5 in perf_header__process_sections util/header.c:4144
#5 0x55684cf43ef1 in perf_session__read_header util/header.c:4620
#6 0x55684cf9f802 in perf_session__open util/session.c:54
#7 0x55684cfa0a98 in __perf_session__new util/session.c:168
#8 0x55684c8cf199 in perf_session__new util/session.h:116
#9 0x55684c8e5d65 in cmd_report /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-report.c:1629
#10 0x55684cae33bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#11 0x55684cae3b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#12 0x55684cae40e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#13 0x55684cae4851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#14 0x7f5bcbf5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#15 0x7f5bcbf5cd64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x55684c849310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 65536 byte(s) in 1024 object(s) allocated from:
#0 0x7f5bd6234c57 in malloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:69
#1 0x55684cf14c76 in do_read_string util/header.c:261
#2 0x55684cf39e44 in process_cpu_domain_info util/header.c:3662
#3 0x55684cf419f3 in perf_file_section__process util/header.c:4386
#4 0x55684cf3efb5 in perf_header__process_sections util/header.c:4144
#5 0x55684cf43ef1 in perf_session__read_header util/header.c:4620
#6 0x55684cf9f802 in perf_session__open util/session.c:54
#7 0x55684cfa0a98 in __perf_session__new util/session.c:168
#8 0x55684c8cf199 in perf_session__new util/session.h:116
#9 0x55684c8e5d65 in cmd_report /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-report.c:1629
#10 0x55684cae33bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#11 0x55684cae3b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#12 0x55684cae40e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#13 0x55684cae4851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#14 0x7f5bcbf5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#15 0x7f5bcbf5cd64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x55684c849310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 10532 byte(s) in 1024 object(s) allocated from:
#0 0x7f5bd6234610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x55684cb0fd0c in zalloc ../../lib/zalloc.c:8
#2 0x55684cf39e93 in process_cpu_domain_info util/header.c:3666
#3 0x55684cf419f3 in perf_file_section__process util/header.c:4386
#4 0x55684cf3efb5 in perf_header__process_sections util/header.c:4144
#5 0x55684cf43ef1 in perf_session__read_header util/header.c:4620
#6 0x55684cf9f802 in perf_session__open util/session.c:54
#7 0x55684cfa0a98 in __perf_session__new util/session.c:168
#8 0x55684c8cf199 in perf_session__new util/session.h:116
#9 0x55684c8e5d65 in cmd_report /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-report.c:1629
#10 0x55684cae33bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#11 0x55684cae3b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#12 0x55684cae40e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#13 0x55684cae4851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#14 0x7f5bcbf5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#15 0x7f5bcbf5cd64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x55684c849310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
Direct leak of 4352 byte(s) in 1024 object(s) allocated from:
#0 0x7f5bd6234610 in calloc ../../../../src/libsanitizer/asan/asan_malloc_linux.cpp:77
#1 0x55684cb0fd0c in zalloc ../../lib/zalloc.c:8
#2 0x55684cf39a6b in process_cpu_domain_info util/header.c:3646
#3 0x55684cf419f3 in perf_file_section__process util/header.c:4386
#4 0x55684cf3efb5 in perf_header__process_sections util/header.c:4144
#5 0x55684cf43ef1 in perf_session__read_header util/header.c:4620
#6 0x55684cf9f802 in perf_session__open util/session.c:54
#7 0x55684cfa0a98 in __perf_session__new util/session.c:168
#8 0x55684c8cf199 in perf_session__new util/session.h:116
#9 0x55684c8e5d65 in cmd_report /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/builtin-report.c:1629
#10 0x55684cae33bf in run_builtin /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:348
#11 0x55684cae3b8f in handle_internal_command /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:398
#12 0x55684cae40e5 in run_argv /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:442
#13 0x55684cae4851 in main /usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf.c:549
#14 0x7f5bcbf5cca7 (/lib/x86_64-linux-gnu/libc.so.6+0x29ca7) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#15 0x7f5bcbf5cd64 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29d64) (BuildId: def5460e3cee00bfee25b429c97bcc4853e5b3a8)
#16 0x55684c849310 in _start (/usr/src/perf_selftests-x86_64-rhel-9.4-bpf-6f993818d20c79b874f546cec1dcce40a9927c7b/tools/perf/perf+0x1048310) (BuildId: 07c75edf5764b1417259ec0a6cb5fc6de1859c88)
SUMMARY: AddressSanitizer: 350756 byte(s) leaked in 6144 allocation(s).
Unexpected signal in test_file
---- end(-1) ----
87: perf header tests : FAILED!
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20260126/202601262235.ee84b79e-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-01-26 14:47 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-19 17:58 [PATCH v5 00/10] perf sched: Introduce stats tool Swapnil Sapkal
2026-01-19 17:58 ` [PATCH v5 01/10] tools/lib: Add list_is_first() Swapnil Sapkal
2026-01-19 17:58 ` [PATCH v5 02/10] perf header: Support CPU DOMAIN relation info Swapnil Sapkal
2026-01-21 17:18 ` Shrikanth Hegde
2026-01-23 15:19 ` Swapnil Sapkal
2026-01-23 16:31 ` Arnaldo Carvalho de Melo
2026-01-26 14:46 ` kernel test robot [this message]
2026-01-26 17:12 ` Ian Rogers
2026-01-27 2:46 ` Oliver Sang
2026-01-19 17:58 ` [PATCH v5 03/10] perf sched stats: Add record and rawdump support Swapnil Sapkal
2026-01-19 17:58 ` [PATCH v5 04/10] perf sched stats: Add schedstat v16 support Swapnil Sapkal
2026-01-19 17:58 ` [PATCH v5 05/10] perf sched stats: Add schedstat v17 support Swapnil Sapkal
2026-01-19 17:58 ` [PATCH v5 06/10] perf sched stats: Add support for report subcommand Swapnil Sapkal
2026-01-19 17:58 ` [PATCH v5 07/10] perf sched stats: Add support for live mode Swapnil Sapkal
2026-01-22 0:54 ` Arnaldo Carvalho de Melo
2026-01-22 1:32 ` Arnaldo Carvalho de Melo
2026-01-22 15:34 ` Arnaldo Carvalho de Melo
2026-01-22 15:42 ` Arnaldo Carvalho de Melo
2026-03-03 18:47 ` Ian Rogers
2026-03-10 10:08 ` Swapnil Sapkal
2026-03-30 14:35 ` James Clark
2026-04-01 7:04 ` Swapnil Sapkal
2026-01-19 17:58 ` [PATCH v5 08/10] perf sched stats: Add support for diff subcommand Swapnil Sapkal
2026-01-19 17:58 ` [PATCH v5 09/10] perf sched stats: Add basic perf sched stats test Swapnil Sapkal
2026-01-19 17:58 ` [PATCH v5 10/10] perf sched stats: Add details in man page Swapnil Sapkal
2026-01-21 16:09 ` [PATCH v5 00/10] perf sched: Introduce stats tool Chen, Yu C
2026-01-21 16:33 ` Peter Zijlstra
2026-01-21 17:12 ` Ian Rogers
2026-01-21 19:51 ` Peter Zijlstra
2026-01-21 20:08 ` Arnaldo Carvalho de Melo
2026-01-21 20:10 ` Peter Zijlstra
2026-01-22 16:00 ` Arnaldo Carvalho de Melo
2026-01-23 16:32 ` Swapnil Sapkal
2026-01-23 16:37 ` Arnaldo Carvalho de Melo
2026-01-23 16:42 ` Swapnil Sapkal
2026-01-21 17:52 ` Shrikanth Hegde
2026-01-23 16:19 ` Swapnil Sapkal
2026-01-21 22:59 ` Namhyung Kim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202601262235.ee84b79e-lkp@intel.com \
--to=oliver.sang@intel.com \
--cc=acme@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=ak@linux.intel.com \
--cc=alexander.shishkin@linux.intel.com \
--cc=ashelat@redhat.com \
--cc=ben.gainey@arm.com \
--cc=blakejones@google.com \
--cc=ctshao@google.com \
--cc=dvyukov@google.com \
--cc=gautham.shenoy@amd.com \
--cc=graham.woodward@arm.com \
--cc=irogers@google.com \
--cc=james.clark@arm.com \
--cc=jolsa@kernel.org \
--cc=juri.lelli@redhat.com \
--cc=kan.liang@linux.intel.com \
--cc=kprateek.nayak@amd.com \
--cc=leo.yan@arm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=linux@treblig.org \
--cc=lkp@intel.com \
--cc=mark.rutland@arm.com \
--cc=mingo@redhat.com \
--cc=namhyung@kernel.org \
--cc=oe-lkp@lists.linux.dev \
--cc=peterz@infradead.org \
--cc=quic_zhonhan@quicinc.com \
--cc=ravi.bangoria@amd.com \
--cc=rostedt@goodmis.org \
--cc=sandipan.das@amd.com \
--cc=santosh.shukla@amd.com \
--cc=sshegde@linux.ibm.com \
--cc=swapnil.sapkal@amd.com \
--cc=thomas.falcon@intel.com \
--cc=tim.c.chen@linux.intel.com \
--cc=tj@kernel.org \
--cc=vincent.guittot@linaro.org \
--cc=vineethr@linux.ibm.com \
--cc=void@manifault.com \
--cc=yangjihong@bytedance.com \
--cc=yu.c.chen@intel.com \
--cc=yujie.liu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.