tracing/user_events: Document persist event flags
authorBeau Belgrave <beaub@linux.microsoft.com>
Tue, 12 Sep 2023 18:07:04 +0000 (18:07 +0000)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Wed, 4 Oct 2023 02:29:43 +0000 (22:29 -0400)
commit2c6d0950f65e537ddec96548e2f73c00e758f87e
tree6f36d2538d9f16d9039b91b5e907713b469cdbf7
parentcf74c59c4fc10e45c6f415ee6624b07ed747f963
tracing/user_events: Document persist event flags

Users need to know how to make events persist now that we allow for
that. We also now allow the dynamic_events file to create events by
utilizing the persist flag during event register.

Add back in to documentation how /sys/kernel/tracing/dynamic_events can
be used to create persistent user_events. Add a section under registering
for the currently supported flags (USER_EVENT_REG_PERSIST) and the
required permissions. Add a note under deleting that deleting a
persistent event also requires sufficient permission.

Link: https://lkml.kernel.org/r/20230912180704.1284-4-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