Re: [PATCH -tip] kcov: Make runtime functions noinstr-compatible

From: Peter Zijlstra
Date: Thu Jun 04 2020 - 16:52:35 EST


On Thu, Jun 04, 2020 at 04:23:38PM +0200, Marco Elver wrote:
> Sadly no. 'noinstr' implies 'notrace', but also places the function in
> the .noinstr.text section for the purpose of objtool checking.

Not only the compile time checking, but also for purpose of runtime
exclusion for things like kprobes and hw-breakpoints.