blob: ca3edde6e838491af348fb69c9f0042786c48b27 [file] [log] [blame]
weidendoaf0e7232006-03-20 10:29:30 +00001<?xml version="1.0"?> <!-- -*- sgml -*- -->
2<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
4[ <!ENTITY % cl-entities SYSTEM "cl-entities.xml"> %cl-entities; ]>
5
6
7<refentry id="callgrind-control">
8<refmeta>
9 <refentrytitle>Callgrind Control</refentrytitle>
10 <manvolnum>1</manvolnum>
11 <refmiscinfo class="c-source">October, 2005</refmiscinfo>
12</refmeta>
13
14<refnamediv id="c-name">
15 <refname>callgrind_control</refname>
16 <refpurpose>observe and control applications currently running under
17 supervision of <command>callgrind</command></refpurpose>
18</refnamediv>
19
20<refsynopsisdiv id="c-synopsis">
21 <cmdsynopsis>
22 <command>callgrind_control</command>
23 <arg choice="opt"><replaceable>options</replaceable></arg>
24 <arg choice="opt" rep="repeat"><replaceable>pid/program-name</replaceable></arg>
25 </cmdsynopsis>
26</refsynopsisdiv>
27
28
29<refsect1 id="c-description">
30<title>Description</title>
31
32<para>This manual page documents briefly the
33<command>callgrind_control</command> command. When not specifying a
34<command>pid/program name</command> argument, all applications run
35by callgrind on this system will be used for actions given by the
36specified option(s). The default action is to give short information
37for the applications run by callgrind.</para>
38
39</refsect1>
40
41
42<refsect1 id="c-options">
43<title>Options</title>
44
45<para>This program follows the usual GNU command line syntax, with long
46options starting with two dashes ("--"). A summary of options is
47included below.</para>
48
49<variablelist remap="TP">
50
51 <varlistentry>
52 <term><option>-h, --help</option></term>
53 <listitem>
54 <para>Show summary of options.</para>
55 </listitem>
56 </varlistentry>
57
58 <varlistentry>
59 <term><option>--version</option></term>
60 <listitem>
61 <para>Show version of callgrind_control.</para>
62 </listitem>
63 </varlistentry>
64
65 <varlistentry>
66 <term><option>-s</option></term>
67 <listitem>
68 <para>Show statistics</para>
69 </listitem>
70 </varlistentry>
71
72 <varlistentry>
73 <term><option>-b</option></term>
74 <listitem>
75 <para>Show stack trace</para>
76 </listitem>
77 </varlistentry>
78
79 <varlistentry>
80 <term><option>-e [A,B,C] [default: all] </option></term>
81 <listitem>
82 <para>Only show figures for events A,B,C</para>
83 </listitem>
84 </varlistentry>
85
86 <varlistentry>
87 <term><option>-z</option></term>
88 <listitem>
89 <para>Zero cost counters</para>
90 </listitem>
91 </varlistentry>
92
93 <varlistentry>
94 <term><option>-d, --dump [hint]</option></term>
95 <listitem>
96 <para>Request the dumping of profile information. Optionally, a
97 string can be specified which is written into the dump as part of
98 the Trigger reason. This can be used to distinguish multiple dumps.</para>
99 </listitem>
100 </varlistentry>
101
102 <varlistentry>
103 <term><option>-k</option></term>
104 <listitem>
105 <para>Kill</para>
106 </listitem>
107 </varlistentry>
108
109</variablelist>
110
111</refsect1>
112
113
114<refsect1 id="c-see_also">
115<title>See Also</title>
116
117<para><filename>&cl-doc-path;</filename></para>
118
119</refsect1>
120
121
122<refsect1 id="c-author">
123<title>Author</title>
124
125<para>This manual page was written by Josef Weidendorfer &lt;&cl-email;&gt;.</para>
126
127
128</refsect1>
129
130
131</refentry>
132