On Fri, 2020-09-11 at 12:38 +0200, Milian Wolff wrote:
> And finally, with heaptrack it is also not yet easily doable to get a diff
> between two time stamps. Also a feature I've long thought about implementing,
> but never got around to...
Note that valgrind allows to report a "delta/diff"
On Thu, 2020-09-10 at 15:26 +0200, folkert wrote:
> Hi,
>
> How can I obtain the number of mallocs per type in a time-frame using
> massif? I'm NOT interested in the total in use, I would like to know how
> often type x is allocated between t+1 and t+2.
You could run your application under
> Anyhow, it sounds like you are starting to reinvent heaptrack - it does
> exactly the above and then some.
Indeed it does: I looked at and it is perfectly for my use-case.
Thank you!
___
Valgrind-users mailing list
On 2020-09-11 at 10:50 UTC, folkert wrote:
[snip]]
This morning I came up with an other solution: I made a LD_PRELOAD
wrapper which counts every malloc-call. Decided that allocated-type is
not really required in my case, but to know which malloc did it would
work as well.
For a random C++
On Freitag, 11. September 2020 12:50:18 CEST folkert wrote:
> Hi,
>
> > > How can I obtain the number of mallocs per type in a time-frame using
> > > massif? I'm NOT interested in the total in use, I would like to know how
> > > often type x is allocated between t+1 and t+2.
> >
> > To my
On Donnerstag, 10. September 2020 15:26:37 CEST folkert wrote:
> Hi,
>
> How can I obtain the number of mallocs per type in a time-frame using
> massif? I'm NOT interested in the total in use, I would like to know how
> often type x is allocated between t+1 and t+2.
To my knowledge, this data is
Hi,
> > How can I obtain the number of mallocs per type in a time-frame using
> > massif? I'm NOT interested in the total in use, I would like to know how
> > often type x is allocated between t+1 and t+2.
>
> To my knowledge, this data is not recorded by Massif. You could try to have a
> look
Hi,
How can I obtain the number of mallocs per type in a time-frame using
massif? I'm NOT interested in the total in use, I would like to know how
often type x is allocated between t+1 and t+2.
regards
___
Valgrind-users mailing list