<tdclass="cellrowborder"valign="top"width="50%"headers="mcps1.2.3.1.2 "><pid="p6156126341"><aname="p6156126341"></a><aname="p6156126341"></a>Views the help text for bytrace.</p>
<tdclass="cellrowborder"valign="top"width="50%"headers="mcps1.2.3.1.2 "><pid="p0805165932419"><aname="p0805165932419"></a><aname="p0805165932419"></a>Sets the size of the buffer (KB) for storing and reading traces. The default buffer size is 2048 KB.</p>
<tdclass="cellrowborder"valign="top"width="50%"headers="mcps1.2.3.1.2 "><pid="p1480517591245"><aname="p1480517591245"></a><aname="p1480517591245"></a>Sets the bytrace uptime in seconds, which depends on the time required for analysis.</p>
<tdclass="cellrowborder"valign="top"width="50%"headers="mcps1.2.3.1.2 "><pid="p11806959142416"><aname="p11806959142416"></a><aname="p11806959142416"></a>Sets the type of the clock for adding a timestamp to a trace, which can be <strongid="b13396101413368"><aname="b13396101413368"></a><aname="b13396101413368"></a>boot</strong> (default), <strongid="b14612918183619"><aname="b14612918183619"></a><aname="b14612918183619"></a>global</strong>, <strongid="b045562173610"><aname="b045562173610"></a><aname="b045562173610"></a>mono</strong>, <strongid="b1132132453612"><aname="b1132132453612"></a><aname="b1132132453612"></a>uptime</strong>, or <strongid="b9888326133616"><aname="b9888326133616"></a><aname="b9888326133616"></a>perf</strong>.</p>
<tdclass="cellrowborder"valign="top"width="50%"headers="mcps1.2.3.1.2 "><pid="p148077595245"><aname="p148077595245"></a><aname="p148077595245"></a>Dumps traces to a specified position (console where you run this command by default).</p>
<tdclass="cellrowborder"valign="top"width="50%"headers="mcps1.2.3.1.2 "><pid="p18809559182420"><aname="p18809559182420"></a><aname="p18809559182420"></a>Stops capturing traces and dumps traces to a specified position (console where you run this command by default).</p>
<tdclass="cellrowborder"valign="top"width="50%"headers="mcps1.2.3.1.2 "><pid="p38091159142414"><aname="p38091159142414"></a><aname="p38091159142414"></a>Lists the bytrace categories supported by the device.</p>
<tdclass="cellrowborder"valign="top"width="50%"headers="mcps1.2.3.1.2 "><pid="p12810165914248"><aname="p12810165914248"></a><aname="p12810165914248"></a>Sets the action to take when the buffer is full. If this option is used, the latest traces are discarded; if this option is not used, the earliest traces are discarded (default).</p>
<tdclass="cellrowborder"valign="top"width="50%"headers="mcps1.2.3.1.2 "><pid="p9810559132410"><aname="p9810559132410"></a><aname="p9810559132410"></a>Outputs traces to a specified file.</p>
<tdclass="cellrowborder"valign="top"width="50%"headers="mcps1.2.3.1.2 "><pid="p1281117592249"><aname="p1281117592249"></a><aname="p1281117592249"></a>Compresses a captured trace.</p>
</td>
</tr>
</tbody>
</table>
| Option | Description |
| -------- | -------- |
| -h, --help | Views the help text for bytrace. |
| -b _n_, --buffer_size _n_ | Sets the size of the buffer (KB) for storing and reading traces. The default buffer size is 2048 KB. |
| -t _n_, --time _n_ | Sets the bytrace uptime in seconds, which depends on the time required for analysis. |
| --trace_clock _clock_ | Sets the type of the clock for adding a timestamp to a trace, which can be **boot** (default), **global**, **mono**, **uptime**, or **perf**. |
| --trace_begin | Starts capturing traces. |
| --trace_dump | Dumps traces to a specified position (console where you run this command by default). |
| --trace_finish | Stops capturing traces and dumps traces to a specified position (console where you run this command by default). |
| -l, --list_categories | Lists the bytrace categories supported by the device. |
| --overwrite | Sets the action to take when the buffer is full. If this option is used, the latest traces are discarded; if this option is not used, the earliest traces are discarded (default). |
| -o _filename_, --output _filename_ | Outputs traces to a specified file. |