mirror of
https://github.com/dynup/kpatch
synced 2025-02-18 10:46:55 +00:00
Move all the ftrace filtering and registering logic into a couple of new helper functions. Change kpatch_num_registered to kpatch_num_patched, which now tracks the number of patched functions rather than the number of patch modules. This simplifies the code a bit and will also prevent a future loaded module scenario where ftrace_ops can be registered with an empty filter, resulting in _all_ kernel functions getting registered with ftrace. |
||
---|---|---|
.. | ||
core.c | ||
kpatch.h | ||
Makefile |