Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1324311

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

From Rabin Vincent <rabin@rab.in>
Newsgroups linux.kernel
Subject Re: [PATCH v2] recordmcount: arm: Implement make_nop
Date 2016-02-02 18:30 +0100
Message-ID <qXMW7-6lS-31@gated-at.bofh.it> (permalink)
References <qXwHE-2lh-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 <linux@arm.linux.org.uk>
> Cc: Rabin Vincent <rabin@rab.in>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> ---
> 
> Changes from v1:
>  * Replace with nops instead of pops
>  * Check for BE or LE kernel with elf headers
>  * Drop mcount style check because now we look at the previous
>    instruction to determine if it's a push (__gnu_mcount_nc) or not (mcount).

Acked-by: Rabin Vincent <rabin@rab.in>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] recordmcount: arm: Implement make_nop Stephen Boyd <sboyd@codeaurora.org> - 2016-02-02 01:10 +0100
  Re: [PATCH v2] recordmcount: arm: Implement make_nop Rabin Vincent <rabin@rab.in> - 2016-02-02 18:30 +0100

csiph-web