diff options
author | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-05-02 21:32:33 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-05-05 11:09:25 -0400 |
commit | 6ce2c04fcbcaa5eb086e5142ab359be306cbc3e1 (patch) | |
tree | e404fa564374277c40bff95682f3477de87fbae9 /include/trace/events/erofs.h | |
parent | 4f94559f40ad06d627c0fdfc3319cec778a2845b (diff) | |
download | linux-stable-6ce2c04fcbcaa5eb086e5142ab359be306cbc3e1.tar.gz linux-stable-6ce2c04fcbcaa5eb086e5142ab359be306cbc3e1.tar.bz2 linux-stable-6ce2c04fcbcaa5eb086e5142ab359be306cbc3e1.zip |
ftrace: Add MODIFIED flag to show if IPMODIFY or direct was attached
If a function had ever had IPMODIFY or DIRECT attached to it, where this
is how live kernel patching and BPF overrides work, mark them and display
an "M" in the enabled_functions and touched_functions files. This can be
used for debugging. If a function had been modified and later there's a bug
in the code related to that function, this can be used to know if the cause
is possibly from a live kernel patch or a BPF program that changed the
behavior of the code.
Also update the documentation on the enabled_functions and
touched_functions output, as it was missing direct callers and CALL_OPS.
And include this new modify attribute.
Link: https://lore.kernel.org/linux-trace-kernel/20230502213233.004e3ae4@gandalf.local.home
Cc: Mark Rutland <mark.rutland@arm.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'include/trace/events/erofs.h')
0 files changed, 0 insertions, 0 deletions