Create a Linux kernel channel:
lttng
[GENERAL OPTIONS] enable-channel --kernel
[--overwrite
] [--output
=(mmap
| splice
)]
[--subbuf-size
=SIZE] [--num-subbuf
=COUNT]
[--switch-timer
=PERIODUS] [--read-timer
=PERIODUS]
[--monitor-timer
=PERIODUS]
[--tracefile-size
=SIZE] [--tracefile-count
=COUNT]
[--session
=SESSION] CHANNEL
Create a user space channel:
lttng
[GENERAL OPTIONS] enable-channel --userspace
[--overwrite
| --blocking-timeout
=TIMEOUTUS] [--buffers-pid
]
[--subbuf-size
=SIZE] [--num-subbuf
=COUNT]
[--switch-timer
=PERIODUS] [--read-timer
=PERIODUS]
[--monitor-timer
=PERIODUS]
[--tracefile-size
=SIZE] [--tracefile-count
=COUNT]
[--session
=SESSION] CHANNEL
Enable existing channel(s):
lttng
[GENERAL OPTIONS] enable-channel
(--userspace
| --kernel
)
[--session
=SESSION] CHANNEL[,CHANNEL]...