Tags » Valgrind

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

Profile with valgrind/callgrind

Calling the profiler is really easy:

valgrind --tool=callgrind --dump-instr=yes --simulate-cache=yes --collect-jumps=yes program arguments

kcachegrind

http://matt.eifelle.com/2009/04/07/profiling-with-valgrind/

Valgrind