- 论坛徽章:
- 0
|
Please specify a trace name.
Please specify an operation.
Please use the following arguments :
-n name Name of the trace.
-b Create trace channels and start tracing (no daemon).
-c Create trace channels.
-m mode Normal, flight recorder or hybrid mode.
Mode values : normal (default), flight or hybrid.
-r Destroy trace channels.
-R Stop tracing and destroy trace channels.
-s Start tracing.
-q Stop tracing.
-d Create trace, spawn a lttd daemon, start tracing.
(optionally, you can set LTT_DAEMON
env. var.)
-f Stop tracing, dump flight recorder trace, destroy channels
(for hybrid traces)
-t Trace root path. (ex. /root/traces/example_trace)
-T Type of trace (ex. relay)
-l LTT channels root path. (ex. /mnt/debugfs/ltt)
-Z Size of the low data rate subbuffers (will be rounded to next page size)
-X Number of low data rate subbuffers
-V Size of the medium data rate subbuffers (will be rounded to next page size)
-B Number of medium data rate subbuffers
-z Size of the high data rate subbuffers (will be rounded to next page size)
-x Number of high data rate subbuffers
-a Append to trace
-N Number of lttd threads
First execute after system boot:
# modprobe ltt-statedump
# modprobe ltt-control
# ltt-armall
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/86775/showart_1732822.html |
|