Re: [PATCH 0/2] perf kvm: Fix memory leaks

Michalis Niarchos <[email protected]>
Newsgroups org.kernel.vger.linux-perf-users,org.kernel.vger.linux-kernel
Message-ID <[email protected]>

On August 12, 2026 11:07:58 PM GMT+02:00, Namhyung Kim <[email protected]> wrote:
>On Fri, 07 Aug 2026 17:08:34 +0200, Michalis Niarchos wrote:
>> Running ./perf kvm stat report with ASan, revealed some memory leaks:
>> 
>> ==206006==ERROR: LeakSanitizer: detected memory leaks
>> 
>> Direct leak of 72 byte(s) in 3 object(s) allocated from:
>>     #0 0x7ff86bf2bea9 in calloc (/usr/lib/libasan.so.8+0x12bea9) (BuildId: 7f2845989b820f536270e19ec47df085ae89a675)
>>     #1 0x55f42795a0d5 in zalloc ../../lib/zalloc.c:8
>>     #2 0x55f42782d7f4 in per_vcpu_record /home/mike/git/linux/tools/perf/builtin-kvm.c:929
>> 
>> [...]
>Applied to perf-tools-next, thanks!
>
>Best regards,
>Namhyung
>
Thanks for reviewing and applying!

Kind regards,
Michalis
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.