From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756248AbcBBRZi (ORCPT ); Tue, 2 Feb 2016 12:25:38 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:35109 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751011AbcBBRZh (ORCPT ); Tue, 2 Feb 2016 12:25:37 -0500 Date: Tue, 2 Feb 2016 18:25:31 +0100 From: Rabin Vincent To: Stephen Boyd Cc: Steven Rostedt , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King Subject: Re: [PATCH v2] recordmcount: arm: Implement make_nop Message-ID: <20160202172531.GA9044@debian> References: <1454371583-9064-1-git-send-email-sboyd@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1454371583-9064-1-git-send-email-sboyd@codeaurora.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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