Naveen N. Rao wrote:
This series addresses the crash reported by Qian Cai on ppc64le with
-mprofile-kernel here:
https://lore.kernel.org/r/15ac5b0e-a221-4b8c-9039-fa96b8ef7...@lca.pw
While fixing patch_instruction() should address the crash, we should
still change the default stub we setup for _mcount() for cases where a
kernel is built without ftrace.
I notice that I didn't write that properly yesterday. I meant that this
is required for cases where ftrace gets disabled for any reason,
resulting in the default calls to _mcount() remaining in the kernel
modules.
- Naveen