From patchwork Tue Feb 25 09:23:15 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 25258 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f72.google.com (mail-yh0-f72.google.com [209.85.213.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D995420558 for ; Tue, 25 Feb 2014 09:25:20 +0000 (UTC) Received: by mail-yh0-f72.google.com with SMTP id f73sf11941859yha.3 for ; Tue, 25 Feb 2014 01:25:20 -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=bQ8y/kFHwNAy9tTtiLjx/ISF4oP8cyiVmohpaDagF059K0Qxtpps407Gq6tILo1Mzo eMRJrNj6HUR+prMuZqIvCBk7ZueFcif5sFMbXwjQSL8rqP9QKWrJATM1dgbGOSUYTyDo CwAfQahDjO4BquyRNs90ugWM8x+I6GQgkY5ov5fuK2y30ngQXeQtRWGkAwd3bVqCComW osZX88QCImDBRILfVFISKoRVgl7PaGXnDO9zyvu1qqI9LzTlbWJt9ia8Rn7jR357wx95 Rxmsy6NTjUNIXmyx0qOMvVb2haT/a6BJrCfhSnnQjMCjMYSlqkOFV1pX+o2GlH///Tzx P8SQ== X-Gm-Message-State: ALoCoQkOaB/U4lghwlWvNrc8krJAm7LoBaflA5D4X2gloiI/Yhk9eKdRzkxpXNE7ljmsXaoVgHQJ X-Received: by 10.236.175.66 with SMTP id y42mr1525472yhl.38.1393320320597; Tue, 25 Feb 2014 01:25:20 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.87.5 with SMTP id q5ls2201513qgd.99.gmail; Tue, 25 Feb 2014 01:25:20 -0800 (PST) X-Received: by 10.58.168.142 with SMTP id zw14mr155580veb.33.1393320320393; Tue, 25 Feb 2014 01:25:20 -0800 (PST) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id sx1si6637919vdc.127.2014.02.25.01.25.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 01:25:20 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.178 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.178; Received: by mail-vc0-f178.google.com with SMTP id ik5so6995602vcb.37 for ; Tue, 25 Feb 2014 01:25:20 -0800 (PST) X-Received: by 10.58.200.229 with SMTP id jv5mr160326vec.15.1393320320312; Tue, 25 Feb 2014 01:25:20 -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.174.196 with SMTP id u4csp123950vcz; Tue, 25 Feb 2014 01:25:19 -0800 (PST) X-Received: by 10.66.121.68 with SMTP id li4mr478761pab.33.1393320318776; Tue, 25 Feb 2014 01:25:18 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wh4si2990590pbc.87.2014.02.25.01.25.17; Tue, 25 Feb 2014 01:25:17 -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 S1753285AbaBYJYs (ORCPT + 26 others); Tue, 25 Feb 2014 04:24:48 -0500 Received: from mail-pb0-f41.google.com ([209.85.160.41]:37718 "EHLO mail-pb0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752855AbaBYJYm (ORCPT ); Tue, 25 Feb 2014 04:24:42 -0500 Received: by mail-pb0-f41.google.com with SMTP id jt11so2492748pbb.0 for ; Tue, 25 Feb 2014 01:24:41 -0800 (PST) X-Received: by 10.68.143.231 with SMTP id sh7mr5406901pbb.7.1393320281513; Tue, 25 Feb 2014 01:24:41 -0800 (PST) Received: from localhost.localdomain (KD182249093189.au-net.ne.jp. [182.249.93.189]) by mx.google.com with ESMTPSA id iq10sm8497678pbc.14.2014.02.25.01.24.36 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Feb 2014 01:24:40 -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 v4 6/7] arm64: Add 'notrace' attribute to unwind_frame() for ftrace Date: Tue, 25 Feb 2014 18:23:15 +0900 Message-Id: <1393320196-2942-7-git-send-email-takahiro.akashi@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1393320196-2942-1-git-send-email-takahiro.akashi@linaro.org> References: <1391768336-5642-1-git-send-email-takahiro.akashi@linaro.org> <1393320196-2942-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.178 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;