1CALLGRIND CONTROL(1)            Release 3.13.0            CALLGRIND CONTROL(1)
2
3
4

NAME

6       callgrind_control - observe and control programs being run by Callgrind
7

SYNOPSIS

9       callgrind_control [options] [pid|program-name...]
10

DESCRIPTION

12       callgrind_control controls programs being run by the Valgrind tool
13       Callgrind. When a pid/program name argument is not specified, all
14       applications currently being run by Callgrind on this system will be
15       used for actions given by the specified option(s). The default action
16       is to give some brief information about the applications being run by
17       Callgrind.
18

OPTIONS

20       -h --help
21           Show a short description, usage, and summary of options.
22
23       --version
24           Show version of callgrind_control.
25
26       -l --long
27           Show also the working directory, in addition to the brief
28           information given by default.
29
30       -s --stat
31           Show statistics information about active Callgrind runs.
32
33       -b --back
34           Show stack/back traces of each thread in active Callgrind runs. For
35           each active function in the stack trace, also the number of
36           invocations since program start (or last dump) is shown. This
37           option can be combined with -e to show inclusive cost of active
38           functions.
39
40       -e [A,B,...]  (default: all)
41           Show the current per-thread, exclusive cost values of event
42           counters. If no explicit event names are given, figures for all
43           event types which are collected in the given Callgrind run are
44           shown. Otherwise, only figures for event types A, B, ... are shown.
45           If this option is combined with -b, inclusive cost for the
46           functions of each active stack frame is provided, too.
47
48       --dump[=<desc>]  (default: no description)
49           Request the dumping of profile information. Optionally, a
50           description can be specified which is written into the dump as part
51           of the information giving the reason which triggered the dump
52           action. This can be used to distinguish multiple dumps.
53
54       -z --zero
55           Zero all event counters.
56
57       -k --kill
58           Force a Callgrind run to be terminated.
59
60       --instr=<on|off>
61           Switch instrumentation mode on or off. If a Callgrind run has
62           instrumentation disabled, no simulation is done and no events are
63           counted. This is useful to skip uninteresting program parts, as
64           there is much less slowdown (same as with the Valgrind tool
65           "none"). See also the Callgrind option --instr-atstart.
66
67       --vgdb-prefix=<prefix>
68           Specify the vgdb prefix to use by callgrind_control.
69           callgrind_control internally uses vgdb to find and control the
70           active Callgrind runs. If the --vgdb-prefix option was used for
71           launching valgrind, then the same option must be given to
72           callgrind_control.
73

SEE ALSO

75       valgrind(1), $INSTALL/share/doc/valgrind/html/index.html or
76       http://www.valgrind.org/docs/manual/index.html.
77

AUTHOR

79       Josef Weidendorfer <Josef.Weidendorfer@gmx.de>.
80
81
82
83Release 3.13.0                    06/15/2017              CALLGRIND CONTROL(1)
Impressum