diff options
author | 2025-05-29 19:19:55 +0800 | |
---|---|---|
committer | 2025-06-02 13:12:26 -0400 | |
commit | 5834a597386c59fedc601a81091028074d6ae9a2 (patch) | |
tree | ceeadcc63361e6e5e9c14db20b2b0e3ff94d98fb /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ftrace: Fix UAF when lookup kallsym after ftrace disabled (diff) | |
download | linux-rng-5834a597386c59fedc601a81091028074d6ae9a2.tar.xz linux-rng-5834a597386c59fedc601a81091028074d6ae9a2.zip |
ftrace: Don't allocate ftrace module map if ftrace is disabled
If ftrace is disabled, it is meaningless to allocate a module map.
Add a check in allocate_ftrace_mod_map() to not allocate if ftrace is
disabled.
Link: https://lore.kernel.org/20250529111955.2349189-3-yebin@huaweicloud.com
Signed-off-by: Ye Bin <yebin10@huawei.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions