X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fman%2Flttng-disable-event.1.txt;h=9afa53c1b495329bdf2122603cf2c1961676c71b;hb=b0c1a0c75f90e68721ff4147699e43fad5900c71;hp=1fdeba1988c76e7c16fb599c1c79cc92f48b3531;hpb=d6b9e598b6552b2c855cae2fe734aa457e56cbed;p=lttng-tools.git diff --git a/doc/man/lttng-disable-event.1.txt b/doc/man/lttng-disable-event.1.txt index 1fdeba198..9afa53c1b 100644 --- a/doc/man/lttng-disable-event.1.txt +++ b/doc/man/lttng-disable-event.1.txt @@ -1,6 +1,6 @@ lttng-disable-event(1) ====================== -:revdate: 3 May 2021 +:revdate: 17 May 2021 NAME @@ -47,6 +47,9 @@ With the option:--channel='CHANNEL' option:: Without the option:--channel option:: The channel named `channel0`. ++ +If there's more than one channel for the selected tracing session and +domain, the `disable-event` command fails. See man:lttng-concepts(7) to learn more about recording event rules. @@ -74,6 +77,8 @@ You may disable an enabled recording event rule regardless of the activity (started or stopped) of its tracing session (see man:lttng-start(1) and man:lttng-stop(1)). +See the <> section below for usage examples. + include::common-lttng-cmd-options-head.txt[] @@ -155,6 +160,50 @@ include::common-lttng-cmd-help-options.txt[] include::common-lttng-cmd-after-options.txt[] +[[examples]] +EXAMPLES +-------- +.Disable all Linux kernel tracepoint recording event rules in the default channel of the current tracing session. +==== +See the option:--all-events option. + +[role="term"] +---- +$ lttng disable-event --kernel --tracepoint --all-events +---- +==== + +.Disable specific Apache log4j recording event rules in the default channel of a specific tracing session. +==== +See the option:--session option. + +[role="term"] +---- +$ lttng disable-event --session=my-session --log4j \ + MySingleton,MyProxy,MyFacade +---- +==== + +.Disable all user space recording event rules in a specific channel of the current tracing session. +==== +See the option:--channel option. + +[role="term"] +---- +$ lttng disable-event --channel=my-channel --userspace \ + --all-events +---- +==== + +.Disable specific Linux kernel system call recording event rules in the default channel of the current tracing session. +==== +[role="term"] +---- +$ lttng disable-event --kernel --syscall pipe2,eventfd +---- +==== + + include::common-footer.txt[]