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 of callgrind_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 -e to 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 tool none). See also the Callgrind option --instr-atstart.
  • --vgdb-prefix=<prefix> β€” specifies the vgdb prefix to use by callgrind_control. callgrind_control internally uses vgdb to find and control the active Callgrind runs. If the --vgdb-prefix option was used for launching valgrind, then the same option must be given to callgrind_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