Replies: 1 comment 1 reply
-
Yes, this is recording that
The
Fundamentally, the |
Beta Was this translation helpful? Give feedback.
-
Yes, this is recording that
The
Fundamentally, the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to find the number of deallocations within some function and I cannot find any references to how deallocations are reported. They are mentioned in docs for
--leaks
, but in various output types, such asflamegraph
, I only see allocations. This leads me to 2 questions:parse
command output, like the one below, does it mean that there were 2 allocations and 1 deallocation, even though all rows haveALLOCATION
in them? In other words, shouldALLOCATION
be interpreted as "one of memory allocation functions was used" and not that "a memory allocation function was invoked"?flamegraph
output17.3 KiB, 50 allocations
, it seems that these are actual memory allocations, as far as I can see from theparse
output when matching frame blocks. Is it correct that when this report is generated with--leaks
, then only unmatched allocations are shown, and otherwise all allocations are shown?As a side note, it would be really useful if each flame graph hover panel would show allocations and deallocations, along with their sizes, which would allow one to see the leaks in a single
flamegraph
output.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions