summaryrefslogtreecommitdiff
path: root/kernel/module_signature.c
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2022-09-15 14:11:31 +0300
committerPeter Zijlstra <peterz@infradead.org>2022-10-17 17:41:16 +0300
commit7825451fa4dc04660f1f53d236e4302161d0ebd1 (patch)
tree60fb5490d9e73fc9b505e941af7a2259a879318d /kernel/module_signature.c
parentf5c1bb2afe93396d41c5cbdcb909b08a75b8dde4 (diff)
downloadlinux-7825451fa4dc04660f1f53d236e4302161d0ebd1.tar.xz
static_call: Add call depth tracking support
When indirect calls are switched to direct calls then it has to be ensured that the call target is not the function, but the call thunk when call depth tracking is enabled. But static calls are available before call thunks have been set up. Ensure a second run through the static call patching code after call thunks have been created. When call thunks are not enabled this has no side effects. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lore.kernel.org/r/20220915111148.306100465@infradead.org
Diffstat (limited to 'kernel/module_signature.c')
0 files changed, 0 insertions, 0 deletions