From patchwork Fri Feb 28 05:18:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 25509 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f197.google.com (mail-ob0-f197.google.com [209.85.214.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 887A12055D for ; Fri, 28 Feb 2014 05:20:34 +0000 (UTC) Received: by mail-ob0-f197.google.com with SMTP id wp18sf6558094obc.4 for ; Thu, 27 Feb 2014 21:20:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=f/wxmTyF4gp3351evEF6Eve37g8xzZH3xsOsltdppt4=; b=Q3idMl/ZhINhNPQvUXcN3PRZCHeKX5pqJlsUsSRR+sHbhr3Loymv3GVoEtVF470EcR 2ULPFVHCSoH7PP24mzd4OrmzTqmXVf7W5rhg/CFBPbWsI5PlYjIXbBK8hSRyuEjb8CJI YRerM9ORpjSi9DNg9pB10eP4IMma+JQKKjW8m7tpFHKst2PCOSF7AWgi7jcWItbRdT7e +/6n7Ac/TZt+6FFFqvdz5UUqFr81psz+0AxC+5UZS4b3L/Z6UUQhULinMUEBQM09MSWW 73Pxv6ezh9CihU9eVj2n8pcq+acdsZcodcPmz7CIPCsPLesoI2G7R1AxSjCeK/5Ptd9r 1R/Q== X-Gm-Message-State: ALoCoQnH3cXaZBAH1x3kEdsOs9veMzcKj1kZ55r+M8vxsuQ0OJYa/9S3p3sFvxgw/3kNYoyrfKFT X-Received: by 10.42.78.197 with SMTP id o5mr3925647ick.9.1393564833829; Thu, 27 Feb 2014 21:20:33 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.105.230 with SMTP id c93ls934721qgf.35.gmail; Thu, 27 Feb 2014 21:20:33 -0800 (PST) X-Received: by 10.58.187.161 with SMTP id ft1mr118318vec.54.1393564833724; Thu, 27 Feb 2014 21:20:33 -0800 (PST) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id l4si1197631vch.54.2014.02.27.21.20.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Feb 2014 21:20:33 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id ld13so235005vcb.18 for ; Thu, 27 Feb 2014 21:20:33 -0800 (PST) X-Received: by 10.221.66.73 with SMTP id xp9mr776180vcb.27.1393564833633; Thu, 27 Feb 2014 21:20:33 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.130.193 with SMTP id u1csp28948vcs; Thu, 27 Feb 2014 21:20:33 -0800 (PST) X-Received: by 10.66.27.67 with SMTP id r3mr1284959pag.62.1393564832789; Thu, 27 Feb 2014 21:20:32 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n8si599390pab.290.2014.02.27.21.20.31; Thu, 27 Feb 2014 21:20:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752137AbaB1FUS (ORCPT + 26 others); Fri, 28 Feb 2014 00:20:18 -0500 Received: from mail-pa0-f54.google.com ([209.85.220.54]:40786 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750835AbaB1FUO (ORCPT ); Fri, 28 Feb 2014 00:20:14 -0500 Received: by mail-pa0-f54.google.com with SMTP id fa1so275882pad.13 for ; Thu, 27 Feb 2014 21:20:14 -0800 (PST) X-Received: by 10.67.22.3 with SMTP id ho3mr1222581pad.128.1393564814362; Thu, 27 Feb 2014 21:20:14 -0800 (PST) Received: from localhost.localdomain (KD182249084248.au-net.ne.jp. [182.249.84.248]) by mx.google.com with ESMTPSA id vn10sm1790978pbc.21.2014.02.27.21.20.08 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Feb 2014 21:20:13 -0800 (PST) From: AKASHI Takahiro To: rostedt@goodmis.org, fweisbec@gmail.com, mingo@redhat.com, catalin.marinas@arm.com, will.deacon@arm.com, tim.bird@sonymobile.com Cc: gkulkarni@caviumnetworks.com, dsaxena@linaro.org, arndb@arndb.de, linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, AKASHI Takahiro Subject: [PATCH v5 6/7] arm64: Add 'notrace' attribute to unwind_frame() for ftrace Date: Fri, 28 Feb 2014 14:18:43 +0900 Message-Id: <1393564724-3966-7-git-send-email-takahiro.akashi@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1393564724-3966-1-git-send-email-takahiro.akashi@linaro.org> References: <1393320196-2942-1-git-send-email-takahiro.akashi@linaro.org> <1393564724-3966-1-git-send-email-takahiro.akashi@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: takahiro.akashi@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , walk_stackframe() calls unwind_frame(), and if walk_stackframe() is "notrace", unwind_frame() should be also "notrace". Signed-off-by: AKASHI Takahiro --- arch/arm64/kernel/stacktrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/stacktrace.c b/arch/arm64/kernel/stacktrace.c index c3b6c63..54122c4 100644 --- a/arch/arm64/kernel/stacktrace.c +++ b/arch/arm64/kernel/stacktrace.c @@ -35,7 +35,7 @@ * ldp x29, x30, [sp] * add sp, sp, #0x10 */ -int unwind_frame(struct stackframe *frame) +int notrace unwind_frame(struct stackframe *frame) { unsigned long high, low; unsigned long fp = frame->fp;