recordmcount: arm: Implement make_nop
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 18 Oct 2016 23:42:00 +0000 (16:42 -0700)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 14 Nov 2016 21:43:00 +0000 (16:43 -0500)
commit9648dc15772d77b5431cd5c11675d90eee1a4c2f
tree4bdfb2f6387d576da753982c5c27383fe419a2a6
parent8d414bd2f77ce858f6b9d119c63b9ce29cf0b75d
recordmcount: arm: Implement make_nop

In similar spirit to x86 and arm64 support, add a make_nop_arm()
to replace calls to mcount with a nop in sections that aren't
traced.

Link: http://lkml.kernel.org/r/20161018234200.5804-1-sboyd@codeaurora.org
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
scripts/recordmcount.c