Create or enable Linux kernel event rules:
lttng
[GENERAL OPTIONS] enable-event --kernel
[--probe
=SOURCE | --function
=SOURCE | --syscall
]
[--filter
=EXPR] [--session
=SESSION]
[--channel
=CHANNEL] EVENT[,EVENT]...
Create or enable an "all" Linux kernel event rule:
lttng
[GENERAL OPTIONS] enable-event --kernel --all
[--syscall
]
[--filter
=EXPR] [--session
=SESSION] [--channel
=CHANNEL]
Create or enable application event rules:
lttng
[GENERAL OPTIONS] enable-event
(--userspace
| --jul
| --log4j
| --python
)
[--filter
=EXPR] [--exclude
=EVENT[,EVENT]...]
[--loglevel
=LOGLEVEL | --loglevel-only
=LOGLEVEL]
[--session
=SESSION] [--channel
=CHANNEL] (--all
| EVENT[,EVENT]...)