Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Matthew Cassell and committed by
Jonathan Corbet
d3f79db9 afa751e8

+2 -2
+2 -2
Documentation/trace/ftrace-uses.rst
··· 182 182 183 183 FTRACE_OPS_FL_RECURSION 184 184 By default, it is expected that the callback can handle recursion. 185 - But if the callback is not that worried about overehead, then 185 + But if the callback is not that worried about overhead, then 186 186 setting this bit will add the recursion protection around the 187 187 callback by calling a helper function that will do the recursion 188 188 protection and only call the callback if it did not recurse. ··· 190 190 Note, if this flag is not set, and recursion does occur, it could 191 191 cause the system to crash, and possibly reboot via a triple fault. 192 192 193 - Not, if this flag is set, then the callback will always be called 193 + Note, if this flag is set, then the callback will always be called 194 194 with preemption disabled. If it is not set, then it is possible 195 195 (but not guaranteed) that the callback will be called in 196 196 preemptable context.