Re: [Valgrind-users] Partial heap profiling with Massif

2020-09-29 Thread Milian Wolff
On Dienstag, 29. September 2020 12:19:24 CEST LEPAREUR Loic wrote: > Le 21/09/2020 à 17:04, Milian Wolff a écrit : > > On Donnerstag, 17. September 2020 15:32:04 CEST John Reiser wrote: > >> On 2020-09-17 LEPAREUR Loic wrote: > >>> Several years ago, I developed a

Re: [Valgrind-users] Partial heap profiling with Massif

2020-09-21 Thread Milian Wolff
o runtime-attach heaptrack after you finished your initialization phase to only record the main computational loop. The overhead should be minimal or actually close to zero when your main loop isn't allocating anything. Cheers -- Milian Wolff m...@milianw.de http://milianw.de signature.asc De

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

2020-09-11 Thread Milian Wolff
0041db10 to a symbol works fine, the shared library > (74a6c1b1) is a bit troublesome though (disabled > randomize_va_space and using eu-addr2line). You have to take the memory mapping of the library into account and subtract that offset from the address. Any

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

2020-09-11 Thread Milian Wolff
n! 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... Cheers -- Milian Wolff m...@milianw.de http://milianw.de signature.asc Description: This is a digitally sign

Re: [Valgrind-users] Add markers when using massif

2017-09-07 Thread Milian Wolff
at you can do (afaik) is use vgdb to trigger snapshots of massif files. Bye -- Milian Wolff m...@milianw.de http://milianw.de -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slash

Re: [Valgrind-users] Callgrind longest possible run

2016-07-12 Thread Milian Wolff
of the 2x. Depending on what you are trying to achive, I suggest looking into a sampling profiler like perf. If you let it run for a really long time, the data file will be enormous, so I suggest you do some kind of live analysis (perf top). Bye -- Milian Wolff m...@milianw.de http://milianw

Re: [Valgrind-users] Merge multiple callgrind output files into one

2016-06-28 Thread Milian Wolff
On Monday, June 27, 2016 6:08:42 PM CEST Ana Rey wrote: > Hi > > Is there a tool (like cg-merge) which can merge multiple callgrind > output files into one Not that I know of, but you can open multiple ones into KCacheGrind in one session and visualize the combined results. Bye

Re: [Valgrind-users] Cachegrind - Tracing LLC misses

2015-09-27 Thread Milian Wolff
es --call-graph dwarf Visualize it then with either a FlameGraph, ur directly with perf report. HTH -- Milian Wolff m...@milianw.de http://milianw.de signature.asc Description: This i

[Valgrind-users] Massif and VALGRIND_MEMPOOL_ALLOC/FREE

2015-08-26 Thread Milian Wolff
to spent more time on making it configurable if there's interest. What do you think? -- Milian Wolff m...@milianw.de http://milianw.de -- ___ Valgrind-users mailing list Valgrind

Re: [Valgrind-users] Uninitialized access findings on non-static file scope variables that's been initialized?

2015-08-13 Thread Milian Wolff
specifically define the construction order by calling foo somewhere in your code. Bye -- Milian Wolff m...@milianw.de http://milianw.de signature.asc Description: This is a digitally signed message part

Re: [Valgrind-users] Valgrind massif -- difference between time(B) and total(B) columns

2015-07-10 Thread Milian Wolff
-- Milian Wolff m...@milianw.de http://milianw.de signature.asc Description: This is a digitally signed message part. -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools

Re: [Valgrind-users] KCachegrind

2014-12-12 Thread Milian Wolff
=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=something .. make make install bye, HTH -- Milian Wolff m...@milianw.de http://milianw.de -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly

[Valgrind-users] Announcing heaptrack - A heap memory profiler for Linux

2014-12-09 Thread Milian Wolff
Or attach to a running process: heaptrack -p $(pidof yourapp) # ... ^C heaptrack_print heaptrack.yourapp.$$.gz | less The source code is tiny, and hopefully easy to read and hack. Patches welcome! Cheers, happy profiling -- Milian Wolff m...@milianw.de http://milianw.de

Re: [Valgrind-users] massif instrumentation in C/C++ code

2014-11-20 Thread Milian Wolff
be trivial. No clue about ms_print though. Bye -- Milian Wolff m...@milianw.de http://milianw.de -- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports

Re: [Valgrind-users] massif instrumentation in C/C++ code

2014-11-20 Thread Milian Wolff
totally agree that having markers in massif output would be an excellent addition! VTune also supports something like that for its runtime performance analysis. Bye -- Milian Wolff m...@milianw.de http://milianw.de

Re: [Valgrind-users] memory barriers support

2014-08-20 Thread Milian Wolff
/the-standard [2]: http://preshing.com/20130930/double-checked-locking-is-fixed-in-cpp11/ HTH -- Milian Wolff m...@milianw.de http://milianw.de -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org

Re: [Valgrind-users] memory barriers support

2014-08-19 Thread Milian Wolff
guess. Rather, try the thread sanitizer. http://clang.llvm.org/docs/ThreadSanitizer.html Cheers -- Milian Wolff m...@milianw.de http://milianw.de -- ___ Valgrind-users mailing

[Valgrind-users] Memcheck fails to find error

2013-04-11 Thread Milian Wolff
Compiled the above with g++ -g -O0 -Wall Is it b/c this is referencing a non-existing stack space? If I change the code to read int* billy = new int[2]; Valgrind can find the error... Cheers -- Milian Wolff m...@milianw.de http://milianw.de signature.asc Description: This is a digitally signed

Re: [Valgrind-users] Cannot access the website of kcachegrind

2013-02-16 Thread Milian Wolff
Cheers -- Milian Wolff m...@milianw.de http://milianw.de signature.asc Description: This is a digitally signed message part. -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all

Re: [Valgrind-users] valgrind hang up on start up

2012-08-16 Thread Milian Wolff
) Generally, do you have serious reasons to doubt that your app will work the same, no matter the size of the input? Otherwise your app might be just fine, if it works for smaller input sizes. -- Milian Wolff m...@milianw.de http://milianw.de signature.asc Description: This is a digitally signed message

Re: [Valgrind-users] Valgrind 3.7 + GLibc 1.4.1

2011-11-25 Thread Milian Wolff
program in C: Note: for the time being, you could just use suppression files, pass e.g. the --gen-suppression=yes option to memcheck. See man valgrind for more information. bye -- Milian Wolff m...@milianw.de http://milianw.de

Re: [Valgrind-users] graphical conversion for MASSIF output

2011-02-16 Thread Milian Wolff
/forum.php?thread_name=CCDD9C8988907D4EA7F00EC35DA7C6CC2FE0039B%40CICW-VMXCHG1.computrition.comforum_name=valgrind-users you got two suggestions: Massif-Visualizer or MassifG Bye -- Milian Wolff http://milianw.de

[Valgrind-users] questions regarding --xml=yes mode

2010-10-19 Thread Milian Wolff
or was there a reason for this? Thanks, bye -- Milian Wolff m...@milianw.de http://milianw.de signature.asc Description: This is a digitally signed message part. -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R

Re: [Valgrind-users] how to display the line number in the error message

2010-10-18 Thread Milian Wolff
. The output message mentioned maybe try -O0 to turn off optimizations? Or -gfull ? good luck -- Milian Wolff m...@milianw.de http://milianw.de signature.asc Description: This is a digitally signed message part. -- Download

Re: [Valgrind-users] memcheck: increase number of stack frames intracked origin

2010-09-24 Thread Milian Wolff
On Monday, 6. September 2010 20:27:39 Dallman, John wrote: Use --num-callers=25, or any other number. This is in valgrind --help, but isn't specific to memcheck. took some time but I finally made use of it and it helped like a charm. Thanks! -- Milian Wolff m...@milianw.de http://milianw.de

[Valgrind-users] memcheck: increase number of stack frames in tracked origin

2010-09-06 Thread Milian Wolff
as it doesn't show me the real caller that triggered the delete. Bye -- Milian Wolff m...@milianw.de http://milianw.de signature.asc Description: This is a digitally signed message part. -- This SF.net Dev2Dev email is sponsored

Re: [Valgrind-users] Help with report about unitialised byte(s) in usage of utimes (or maybe stat?)

2010-08-06 Thread Milian Wolff
doesn't show any problems in valgrind for me: http://mwolff.pastebin.com/JxCgvtK9 :( -- Milian Wolff m...@milianw.de http://milianw.de signature.asc Description: This is a digitally signed message part. -- This SF.net

Re: [Valgrind-users] Help with report about unitialised byte(s) in usage of utimes (or maybe stat?)

2010-08-06 Thread Milian Wolff
for us, I'll just ignore it for now :) I hoped someone would see a glaring error or something, well thanks anyways. Bye -- Milian Wolff m...@milianw.de http://milianw.de signature.asc Description: This is a digitally signed message part

[Valgrind-users] Help with report about unitialised byte(s) in usage of utimes (or maybe stat?)

2010-07-31 Thread Milian Wolff
-positive? Or is stat / utimes really wrong here? Note that we haven't had any problems so far (at least none from which we know). Bye -- Milian Wolff m...@milianw.de http://milianw.de signature.asc Description: This is a digitally signed message part

Re: [Valgrind-users] Group by Thread in KCacheGrind?

2010-07-16 Thread Milian Wolff
On Friday, 16. July 2010 00:57:37 Josef Weidendorfer wrote: Hi Milian, On Thursday 15 July 2010, Milian Wolff wrote: Would the callgrind data allow grouping by thread in KCacheGrind's evaluation? Isn't something like myMethod()'X indicating the thread number with the X? Short

[Valgrind-users] Group by Thread in KCacheGrind?

2010-07-15 Thread Milian Wolff
, it could become much easier to find user noticable lags. What do you think? Bye -- Milian Wolff m...@milianw.de http://milianw.de signature.asc Description: This is a digitally signed message part. -- This SF.net email

[Valgrind-users] How to debug segfault that only occurrs when running in valgrind with callgrind?

2010-04-15 Thread Milian Wolff
? That segfaults even earlier and gives a totally useless backtrace without any debug info... Hints? -- Milian Wolff m...@milianw.de http://milianw.de signature.asc Description: This is a digitally signed message part

Re: [Valgrind-users] How to debug segfault that only occurrs when running in valgrind with callgrind?

2010-04-15 Thread Milian Wolff
On Thursday 15 April 2010 13:55:16 Alexander Potapenko wrote: On Thu, Apr 15, 2010 at 3:45 PM, Milian Wolff m...@milianw.de wrote: Hey all! When I try to profile the whole startup of KDevelop using callgrind, I and at least one of the other developers, get a reproducible segfault

[Valgrind-users] Announce: Massif-Visualizer - feedback welcome!

2010-04-02 Thread Milian Wolff
, I love it! -- Milian Wolff m...@milianw.de http://milianw.de signature.asc Description: This is a digitally signed message part. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed