VALGRIND(1)

NAME
valgrind - a suite of tools for debugging and profiling programs

SYNOPSIS

valgrind [valgrind-options] [your-program] [your-program-options]

DESCRIPTION

Valgrind is a flexible program for debugging and profiling Linux executables. It consists of a core, which provides a synthetic CPU in software, and a series of debugging and profiling tools. The architecture is modular, so that new tools can be created easily and without disturbing the existing structure.

Some of the options described below work with all Valgrind tools, and some only work with a few or one. The section MEMCHECK OPTIONS and those below it describe tool-specific options.

This manual page covers only basic usage and options. For more comprehensive information, please see the HTML documentation on your system: $INSTALL/share/doc/valgrind/html/index.html, or online: http://www.valgrind.org/docs/manual/index.html.

TOOL SELECTION OPTIONS

BASIC OPTIONS

ERROR-RELATED OPTIONS

MALLOC()-RELATED OPTIONS

UNCOMMON OPTIONS

DEBUGGING VALGRIND OPTIONS

MEMCHECK OPTIONS

CACHEGRIND OPTIONS

CALLGRIND OPTIONS

HELGRIND OPTIONS

DRD OPTIONS

MASSIF OPTIONS

BBV OPTIONS

LACKEY OPTIONS

DEBUGINFOD

SEE ALSO

cg_annotate(1), callgrind_annotate(1), callgrind_control(1), ms_print(1), $INSTALL/share/doc/valgrind/html/index.html or http://www.valgrind.org/docs/manual/index.html, Debugging your program using Valgrind's gdbserver and GDB[1] vgdb[2], Valgrind monitor commands[3], The Commentary[4], Scheduling and Multi-Thread Performance[5], Cachegrind: a cache and branch-prediction profiler[6]. Execution Trees[7]

AUTHOR

See the AUTHORS file in the valgrind distribution for a comprehensive list of authors.

This manpage was written by Andres Roldan <aroldan@debian.org> and the Valgrind developers.

NOTES

1.  Debugging your program using Valgrind's gdbserver and GDB
    http://www.valgrind.org/docs/manual/manual-core-adv.html#manual-core-adv.gdbserver

2.  vgdb
    http://www.valgrind.org/docs/manual/manual-core-adv.html#manual-core-adv.vgdb

3.  Valgrind monitor commands
    http://www.valgrind.org/docs/manual/manual-core-adv.html#manual-core-adv.valgrind-monitor-commands

4.  The Commentary
    http://www.valgrind.org/docs/manual/manual-core.html#manual-core.comment

5.  Scheduling and Multi-Thread Performance
    http://www.valgrind.org/docs/manual/manual-core.html#manual-core.pthreads_perf_sched

6.  Cachegrind: a cache and branch-prediction profiler
    http://www.valgrind.org/docs/manual/cg-manual.html

7.  Execution Trees
    http://www.valgrind.org/docs/manual/manual-core.html#manual-core.xtree