lttctl1
Usage
lttctl [options] ...
[tracename]
Overview
lttctl is a small program that controls LTTng through liblttctl.
Options
- •
-
-h,--help: Show summary of options.
- •
-
-c,--create: Create a trace.
- •
-
-d,--destroy: Destroy a trace.
- •
-
-s,--start: Start a trace.
- •
-
-p,--pause: Pause a trace.
- •
-
--transport TRANSPORT: Set trace's transport. (ex. relay-locked or relay)
- •
-
-o, --option OPTION Set options, following operations are supported:
-
channel.<channelname>.enable= channel.<channelname>.overwrite= channel.<channelname>.bufnum= channel.<channelname>.bufsize= (in bytes, rounded to next power of 2) <channelname> can be set to all for all channels channel.<channelname>.switch_timer= (timer interval in ms)
- •
-
-C,--create_start: Create and start a trace.
- •
-
-D,--pause_destroy: Pause and destroy a trace.
- •
-
-w, --write PATH: Path for write trace datas. For -c, -C, -d, -D options.
- •
-
-a,--append: Append to trace, For -w option.
- •
-
-n, --dump_threads NUMBER: Number of lttd threads, For -w option.
- •
-
--channel_root PATH: Set channels root path, For -w option. (ex. /mnt/debugfs/ltt)
Releases
Unchanged in 2 releases since Debian 6.0 (Squeeze).