Skip to content

Commit 874686c

Browse files
committed
Allow bootchart.conf to enable arg_show_cmdline.
`Cmdline=on`. Fixes #9.
1 parent 395d046 commit 874686c

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

man/bootchart.conf.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,12 @@
158158
</para></listitem>
159159
</varlistentry>
160160

161+
<varlistentry>
162+
<term><varname>Cmdline=no</varname></term>
163+
<listitem><para>Display the full command line of each process.
164+
</para></listitem>
165+
</varlistentry>
166+
161167
</variablelist>
162168
</refsect1>
163169

src/bootchart.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ static void parse_conf(void) {
112112
{ "Bootchart", "ScaleY", config_parse_double, 0, &arg_scale_y },
113113
{ "Bootchart", "ControlGroup", config_parse_bool, 0, &arg_show_cgroup },
114114
{ "Bootchart", "PerCPU", config_parse_bool, 0, &arg_percpu },
115+
{ "Bootchart", "Cmdline", config_parse_bool, 0, &arg_show_cmdline},
115116
{ NULL, NULL, NULL, 0, NULL }
116117
};
117118

0 commit comments

Comments
 (0)