static_call: Avoid kprobes on inline static_call()s

Similar to how we disallow kprobes on any other dynamic text
(ftrace/jump_label) also disallow kprobes on inline static_call()s.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200818135804.744920586@infradead.org
This commit is contained in:
Peter Zijlstra 2020-08-18 15:57:43 +02:00 • committed by Ingo Molnar
commit 6333e8f73b
4 changed files with 84 additions and 1 deletions