mirror of
https://github.com/dynup/kpatch
synced 2024-12-14 17:34:34 +00:00
8a008e8645
When patching a module, I ran into a "can't set ftrace filter at address" error. The root cause was due to the fact that mod->module_core + old_offset is apparently not a reliable way to determine the function's address. Instead, just get the address from kallsyms like we do for module dynrelas. |
||
---|---|---|
.. | ||
core | ||
patch | ||
Makefile |