Re: [PATCH v2] recordmcount: arm: Implement make_nop

2016-02-02 Thread Rabin Vincent
On Mon, Feb 01, 2016 at 04:06:23PM -0800, Stephen Boyd wrote: > In similar spirit to x86 and arm64 support, add a make_nop_arm() > to replace calls to mcount with nops in sections that aren't > traced. > > Cc: Russell King > Cc: Rabin Vincent > Signed-off-by: Stephen Boyd > --- > > Changes fro

[PATCH v2] recordmcount: arm: Implement make_nop

2016-02-01 Thread Stephen Boyd
In similar spirit to x86 and arm64 support, add a make_nop_arm() to replace calls to mcount with nops in sections that aren't traced. Cc: Russell King Cc: Rabin Vincent Signed-off-by: Stephen Boyd --- Changes from v1: * Replace with nops instead of pops * Check for BE or LE kernel with elf h