tracing/user_events: Document auto-cleanup and remove dyn_event refs
authorBeau Belgrave <beaub@linux.microsoft.com>
Wed, 14 Jun 2023 16:33:36 +0000 (09:33 -0700)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 14 Jun 2023 17:43:27 +0000 (13:43 -0400)
commit0113d4615dbf053ae9a7a1e0acbc6652713af01f
treecac6ffcf8c67bdf74a394b4a16d5df6b1c674b98
parent61701242e86f0b509a0f5f9deb226bedfc8dfab7
tracing/user_events: Document auto-cleanup and remove dyn_event refs

Now user_events auto-cleanup upon the last reference by default. This
makes it not possible to use the dynamics event file via tracefs.

Document that auto-cleanup is enabled by default and remove the refernce
to /sys/kernel/tracing/dynamic_events file to make this clear.

Link: https://lkml.kernel.org/r/20230614163336.5797-7-beaub@linux.microsoft.com
Signed-off-by: Beau Belgrave <beaub@linux.microsoft.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Documentation/trace/user_events.rst