[Valgrind-users] Not seeing error line numberings

2020-09-11 Thread Pakize Sanal via Valgrind-users
Hi, Somehow I am not able to see error line numberings when I try to test a Microsoft library: https://github.com/microsoft/PQCrypto-SIDH. I compiled the library by using the command: $ make ARCH=x64 CC=gcc OPT_LEVEL=GENERIC I also changed the optimization level as -g and added -static option

Re: [Valgrind-users] massif & counts per type

2020-09-11 Thread John Reiser
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++ pr

Re: [Valgrind-users] massif & counts per type

2020-09-11 Thread Milian Wolff
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 knowled

Re: [Valgrind-users] massif & counts per type

2020-09-11 Thread Milian Wolff
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

Re: [Valgrind-users] massif & counts per type

2020-09-11 Thread folkert
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 a