Callgrind: a call-graph generating cache and branch prediction profiler
--auto=<yes|no> [default:
no]
Annotate all source files containing functions that helped reach the event count threshold.
--context=N [default:
8]
Print N lines of context before and after annotated lines.
--inclusive=<yes|no> [default:
no]
Add subroutine costs to functions calls.
--tree=<none|caller|calling|both> [default:
none]
Print for each function their callers, the called functions or both.
-I, --include=<dir>
Add
dir
to the list of directories to search for source files.
6.7. callgrind_control Command-line Options
By default, callgrind_control acts on all programs run by the current user under Callgrind. It is possible to limit the
actions to specified Callgrind runs by providing a list of pids or program names as argument. The default action is to
give some brief information about the applications being run under Callgrind.
-h --help
Show a short description, usage, and summary of options.
--version
Show version of callgrind_control.
-l --long
Show also the working directory, in addition to the brief information given by default.
-s --stat
Show statistics information about active Callgrind runs.
-b --back
Show stack/back traces of each thread in active Callgrind runs. For each active function in the stack trace, also the
number of invocations since program start (or last dump) is shown. This option can be combined with -e to show
inclusive cost of active functions.
-e [A,B,...]
(default: all)
Show the current per-thread, exclusive cost values of event counters. If no explicit event names are given, figures for
all event types which are collected in the given Callgrind run are shown. Otherwise, only figures for event types A, B,
... are shown. If this option is combined with -b, inclusive cost for the functions of each active stack frame is provided,
too.
--dump[=<desc>]
(default: no description)
Request the dumping of profile information. Optionally, a description can be specified which is written into the dump
as part of the information giving the reason which triggered the dump action. This can be used to distinguish multiple
dumps.
-z --zero
Zero all event counters.
-k --kill
Force a Callgrind run to be terminated.
104
Содержание BBV
Страница 176: ...Valgrind FAQ Release 3 8 0 10 August 2012 Copyright 2000 2012 Valgrind Developers Email valgrind valgrind org ...
Страница 177: ...Valgrind FAQ Table of Contents Valgrind Frequently Asked Questions 1 ii ...
Страница 302: ...README mips based on newer GCC versions if possible 95 ...
Страница 303: ...GNU Licenses ...
Страница 304: ...GNU Licenses Table of Contents 1 The GNU General Public License 1 2 The GNU Free Documentation License 8 ii ...