CALLGRIND_CONTROL(1)
πΈ NAME πΈ
callgrind_control β observe and control programs being run by Callgrind. This is the CALLGRIND CONTROL(1) manual, bestie π
β¨ SYNOPSIS β¨
callgrind_control [options] [pid|program-name...]
π« DESCRIPTION π«
okay so callgrind_control is literally your remote control for programs being run by the Valgrind tool Callgrind. When you donβt specify a pid/program name argument, all applications currently being run by Callgrind on this system will be used for the actions given by the option(s) you picked. The default action is to give some brief information about the applications being run by Callgrind. periodt π
π OPTIONS π
-h,--helpβ shows a short description, usage, and summary of options. slay.--versionβ shows the version ofcallgrind_control.-l,--longβ also shows the working directory, in addition to the brief information given by default.-s,--statβ shows statistics information about active Callgrind runs.-b,--backβ shows stack/back traces of each thread in active Callgrind runs. For each active function in the stack trace, it also shows the number of invocations since program start (or last dump). This option can be combined with-eto show inclusive cost of active functions.-e [A,B,...](default:all) β shows 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) β requests 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β zeros all event counters.-k,--killβ forces a Callgrind run to be terminated. rude but effective, ngl π--instr=<on|off>β switches instrumentation mode on or off. If a Callgrind run has instrumentation disabled, no simulation is done and no events are counted. This is useful to skip uninteresting program parts, as there is much less slowdown (same as with the Valgrind toolnone). See also the Callgrind option--instr-atstart.--vgdb-prefix=<prefix>β specifies thevgdbprefix to use bycallgrind_control.callgrind_controlinternally usesvgdbto find and control the active Callgrind runs. If the--vgdb-prefixoption was used for launchingvalgrind, then the same option must be given tocallgrind_control.
π¦ SEE ALSO π¦
valgrind(1), $INSTALL/share/doc/valgrind/html/index.html, or http://www.valgrind.org/docs/manual/index.html.
π AUTHOR π
Josef Weidendorfer <Josef.Weidendorfer@gmx.de>. iconic author behavior, honestly π«Ά
okay bye bestie, signing off from the CALLGRIND CONTROL(1) page: Release 3.27.1, dated 06/23/2026. mwah πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: valgrind 3.27.1-160000.1.1 Β· GFDL-1.2-only AND GPL-3.0-or-later
- opensuse-leap 16.0: valgrind 3.27.1-160000.1.1 Β· GFDL-1.2-only AND GPL-3.0-or-later
- opensuse-leap 16.0: valgrind 3.27.1-160000.1.1 Β· GFDL-1.2-only AND GPL-3.0-or-later
- opensuse-leap 16.0: valgrind 3.27.1-160000.1.1 Β· GFDL-1.2-only AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms