From patchwork Wed Apr 30 09:54:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 29396 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 9E90A203F3 for ; Wed, 30 Apr 2014 09:56:20 +0000 (UTC) Received: by mail-ob0-f197.google.com with SMTP id wp4sf7689996obc.8 for ; Wed, 30 Apr 2014 02:56:20 -0700 (PDT) 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=MOycgPV4ZQA59d704KL2T3U1/BPSyihAeMq2/qmE50E=; b=Euicyu0zWNMiWHSmaumQo1DQ2idOC54lDG04Ica98q/1XxCdS3K5jXlWWJMpuTRegv c/lZeGhqDMiSjCjvRHUv2c5g9+wf/8NoEeDpp6NODyPWTzPwhNhyLn4D0607nwYVCXqe xXHGTdKNNuzgLCyb5fNttdDnfDI02JxJK/dEpvUa5hs9QnZgxqR32u43Kx+sopTIKU80 5EXKVTDKaMZn16wycZ6psQk+ZNRRfQ3ELXhOMbnVKdF7Q+TW/GqahxFTwS8KvR/nhgQP eq+HSjlalIzk0OD5ikhbdL9PU3TY0KU2KQS0sVjrNNpCS/Y7Boew425D2TMpCuFezCxw tcvw== X-Gm-Message-State: ALoCoQn+RG7UtjKJyX+1njjf7VKwzLiUSiPlsMOhjklRHb16VN2V0fz53H8LzdwedZ4KYmExlV0J X-Received: by 10.42.30.71 with SMTP id u7mr1503853icc.15.1398851779682; Wed, 30 Apr 2014 02:56:19 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.83.115 with SMTP id i106ls518247qgd.97.gmail; Wed, 30 Apr 2014 02:56:19 -0700 (PDT) X-Received: by 10.220.184.72 with SMTP id cj8mr3177589vcb.10.1398851779526; Wed, 30 Apr 2014 02:56:19 -0700 (PDT) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id sc7si5195010vdc.121.2014.04.30.02.56.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Apr 2014 02:56:19 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.128.171; Received: by mail-ve0-f171.google.com with SMTP id jy13so1815519veb.16 for ; Wed, 30 Apr 2014 02:56:19 -0700 (PDT) X-Received: by 10.221.37.1 with SMTP id tc1mr668316vcb.32.1398851779441; Wed, 30 Apr 2014 02:56:19 -0700 (PDT) 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.221.72 with SMTP id ib8csp265335vcb; Wed, 30 Apr 2014 02:56:19 -0700 (PDT) X-Received: by 10.66.148.98 with SMTP id tr2mr6771661pab.33.1398851778707; Wed, 30 Apr 2014 02:56:18 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id wg2si16351769pab.372.2014.04.30.02.56.17 for ; Wed, 30 Apr 2014 02:56:17 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933313AbaD3J4I (ORCPT + 28 others); Wed, 30 Apr 2014 05:56:08 -0400 Received: from mail-ie0-f175.google.com ([209.85.223.175]:33323 "EHLO mail-ie0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756960AbaD3J4G (ORCPT ); Wed, 30 Apr 2014 05:56:06 -0400 Received: by mail-ie0-f175.google.com with SMTP id rl12so1676776iec.20 for ; Wed, 30 Apr 2014 02:56:05 -0700 (PDT) X-Received: by 10.42.199.144 with SMTP id es16mr439625icb.87.1398851765265; Wed, 30 Apr 2014 02:56:05 -0700 (PDT) Received: from localhost.localdomain (KD182249095136.au-net.ne.jp. [182.249.95.136]) by mx.google.com with ESMTPSA id x7sm1867848igw.1.2014.04.30.02.55.59 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Apr 2014 02:56:04 -0700 (PDT) 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 v8 3/8] arm64: Add 'notrace' attribute to unwind_frame() for ftrace Date: Wed, 30 Apr 2014 18:54:31 +0900 Message-Id: <1398851676-16389-4-git-send-email-takahiro.akashi@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1398851676-16389-1-git-send-email-takahiro.akashi@linaro.org> References: <1394862048-28758-1-git-send-email-takahiro.akashi@linaro.org> <1398851676-16389-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: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) 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". Acked-by: Will Deacon 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 38f0558..55437ba 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;