diff options
author | Matthew Cassell <mcassell411@gmail.com> | 2023-12-23 18:58:45 +0000 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2024-01-03 14:15:53 -0700 |
commit | d3f79db93275ef84f46536eb1b6da8d605f34a97 (patch) | |
tree | 678a99a762c9b93611c504f3516e3038af0d92e5 | |
parent | afa751e84c30b517aebd418970d222c39c81acb8 (diff) | |
download | linux-d3f79db93275ef84f46536eb1b6da8d605f34a97.tar.gz linux-d3f79db93275ef84f46536eb1b6da8d605f34a97.tar.bz2 linux-d3f79db93275ef84f46536eb1b6da8d605f34a97.zip |
Documentation/trace: Fixed typos in the ftrace FLAGS section
Fixed typos in the FTRACE_OPS_FL_RECURSION flag description.
Signed-off-by: Matthew Cassell <mcassell411@gmail.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20231223185845.2326-1-mcassell411@gmail.com
-rw-r--r-- | Documentation/trace/ftrace-uses.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/trace/ftrace-uses.rst b/Documentation/trace/ftrace-uses.rst index f7d98ae5b885..e198854ace79 100644 --- a/Documentation/trace/ftrace-uses.rst +++ b/Documentation/trace/ftrace-uses.rst @@ -182,7 +182,7 @@ FTRACE_OPS_FL_SAVE_REGS_IF_SUPPORTED FTRACE_OPS_FL_RECURSION By default, it is expected that the callback can handle recursion. - But if the callback is not that worried about overehead, then + But if the callback is not that worried about overhead, then setting this bit will add the recursion protection around the callback by calling a helper function that will do the recursion protection and only call the callback if it did not recurse. @@ -190,7 +190,7 @@ FTRACE_OPS_FL_RECURSION Note, if this flag is not set, and recursion does occur, it could cause the system to crash, and possibly reboot via a triple fault. - Not, if this flag is set, then the callback will always be called + Note, if this flag is set, then the callback will always be called with preemption disabled. If it is not set, then it is possible (but not guaranteed) that the callback will be called in preemptable context. |