ftrace: Use within_module to check rec->ip within specified module.
authorLevi Yun <ppbuk5246@gmail.com>
Thu, 3 Aug 2023 20:52:36 +0000 (21:52 +0100)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Sat, 2 Sep 2023 01:17:10 +0000 (21:17 -0400)
commit13511489046a60f76a9f9fef1335837b28d325e4
tree6585c4abadfe516795cd297ce0add99945f55b18
parent2933d3cd079d3bf6fded709de7d97c1dc71d9633
ftrace: Use within_module to check rec->ip within specified module.

within_module_core && within_module_init condition is same to
within module but it's more readable.

Use within_module instead of former condition to check rec->ip
within specified module area or not.

Link: https://lore.kernel.org/linux-trace-kernel/20230803205236.32201-1-ppbuk5246@gmail.com
Signed-off-by: Levi Yun <ppbuk5246@gmail.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
kernel/trace/ftrace.c