aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorMichal Kubecek <[email protected]>2023-01-18 11:52:15 +0100
committerPeter Zijlstra <[email protected]>2023-01-21 10:50:18 +0100
commit03d7a1053cf72372be22b43faada5bca12ff183d (patch)
tree3903eb97e31a26d63bbb21f6bcf608f6f4ba731f /tools/perf/util/scripting-engines/trace-event-python.c
parent3da73f102309fe29150e5c35acd20dd82063ff67 (diff)
objtool: Check that module init/exit function is an indirect call target
Some out-of-tree modules still do not use module_init() / module_exit() macros and simply create functions with magic names init_module() and cleanup_module() instead. As a result, these functions are not recognized as indirect call targets by objtool and such module fails to load into an IBT enabled kernel. This old way is not even documented any more but it is cleaner to issue a warning than to let the module fail on load without obvious reason. Signed-off-by: Michal Kubecek <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions