Tags » Valgrind

Code caller/callee profiling with callgrind

Profiling your code in terms of caller callee function calls can prove quite useful. Seeing which parts of your code are  greedy is another aspect of it. 38 more words

Coding

A Few Useful Linux Commands

Here is a list of Linux commands that I have found to be really useful :

pdfunite : a really simple tool that does what it says – combines individual pdf… 175 more words

Technical

Direct valgrind to a file

By default, Valgrind writes its output to stderr. So you need to do something like:

valgrind a.out > log.txt 2>&1

Alternatively, you can tell Valgrind to write somewhere else; see… 15 more words

Valgrind

Valgrind To Debug Memory Leaks

Valgrind is a tool for memory debugging, memory leak detection, and profiling. It is named after the main entrance to Valhalla.

Valgrind was originally designed to be a free memory debugging tool for Linux on x86, but has since evolved to become a generic framework for creating dynamic analysis tools such as checkers and profilers. 330 more words

How To

Suppressions in Valgrind

Recently I was trying to find all the memory leak in my product. Now my product is very complex and uses couple of third party libraries. 304 more words

massif

valgrind —tool=massif —-time-unit=B 

massif-visualizer,

ms_print massif.out.** >log.txt

Tutorial:

http://blog.csdn.net/unix21/article/details/9330571

Valgrind

Traffic generation options

This is a blog post where I am going to write about things as a way of clarifying, in my own mind, what the best way of tackling a problem is. 786 more words