Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp263376ybe; Wed, 4 Sep 2019 19:34:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzZhWMM2KqM3eiFcZXG2tmFQQCpYOS/BNwhVX1JMoXaQaGxCrl9luD6eqIhi8ih5y1oRo82 X-Received: by 2002:a65:60d3:: with SMTP id r19mr1042003pgv.91.1567650865227; Wed, 04 Sep 2019 19:34:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567650865; cv=none; d=google.com; s=arc-20160816; b=XRN9VeslZUK0v2gQY5Kt6rpwZUOFk+UtthcioWEfs5hNTsr7zpVjXkO/KIv8SaJHPe d3yNPguIGlldwgED6VK8kk5sT7hdkTmPIKYZIhH4PsZt8qr+T8EEvOneBzG512gnNaQf sf8P4QzqQ73S6e1UJX+hPr+zsDWMly8UITGpTJc8XdZMGL1+ehC1zZn+iJD5Z8bOPKKv MmcYO+RkFIuSIwULU/yTSB4G5A8WDHK9SCHXsqngSqt23KyysdeX9TKda7Z5xy+NzKtm 1OHcLjs7Blh4GD3Oy3Gout5V9quyVPj0HMQfFY2x/W35CTmEHCNhEYYeCuk+dap8fMhS uCNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=pvGF0hry7b9awyL7BGy2iHreAhPrPfsD9NeGDjTfmGY=; b=yS2WJkQ/KWqDUaZIhMHXzp/c61k0GbE9uU8UYFTxU2vEbO+MiaxWuOK+zblhfVAEWc U6qEKw5g1SfRK1LS1uSqY0U6OMMwkOJuF5yxvcW46JqUxj2bNBt9N7XXiHA07ReGcj06 N9sMWRpjVqIm0KJWIWvxdl2SI/Iwxk7jzqV2VfmHqN3Ma6/mJieA4+S9ISVwyXqDSKwU XDBzvLLYo8cz67ETHLjxeVfFBsS4e1W2rZfFxWlw3k8XHW3B879jAevrkurvWXpjxijz USwGBjwylYfRJUbzMKBBU8YYDe06kSWKOuDy81IYfRgLRADsmG1NSX4k7lXDZ0iMd8qM SPUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t9si752447pjy.47.2019.09.04.19.34.08; Wed, 04 Sep 2019 19:34:25 -0700 (PDT) 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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730524AbfIECaG (ORCPT + 99 others); Wed, 4 Sep 2019 22:30:06 -0400 Received: from smtp2200-217.mail.aliyun.com ([121.197.200.217]:51400 "EHLO smtp2200-217.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730074AbfIECaG (ORCPT ); Wed, 4 Sep 2019 22:30:06 -0400 X-Alimail-AntiSpam: AC=CONTINUE;BC=0.07812042|-1;CH=green;DM=CONTINUE|CONTINUE|true|0.0543389-0.00436749-0.941294;FP=0|0|0|0|0|-1|-1|-1;HT=e02c03312;MF=han_mao@c-sky.com;NM=1;PH=DS;RN=4;RT=4;SR=0;TI=SMTPD_---.FOxzzyz_1567650603; Received: from localhost(mailfrom:han_mao@c-sky.com fp:SMTPD_---.FOxzzyz_1567650603) by smtp.aliyun-inc.com(10.147.42.197); Thu, 05 Sep 2019 10:30:03 +0800 Date: Thu, 5 Sep 2019 10:30:02 +0800 From: Mao Han To: Paul Walmsley Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-csky@vger.kernel.org Subject: Re: [PATCH V6 1/3] riscv: Add perf callchain support Message-ID: <20190905023002.GA3949@vmh-VirtualBox> References: <86d18d80affc39cf9579a24f1beb7c8631cfa9bd.1567060834.git.han_mao@c-sky.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 04, 2019 at 12:54:41PM -0700, Paul Walmsley wrote: > Hello Mao Han, > > On Thu, 29 Aug 2019, Mao Han wrote: > > > This patch add support for perf callchain sampling on riscv platform. > > The return address of leaf function is retrieved from pt_regs as > > it is not saved in the outmost frame. > > > > Signed-off-by: Mao Han > > Cc: Paul Walmsley > > Cc: Greentime Hu > > Cc: Palmer Dabbelt > > Cc: linux-riscv > > Cc: Christoph Hellwig > > Cc: Guo Ren > > There are some 'checkpatch.pl --strict' warnings with this patch (below). > These have been fixed here. The following patch has been queued for > v5.4-rc1 with Greentime's Tested-by:. Thanks for your hard work following > up on the feedback with these patches - Thanks for the fixes. I'll check patches with --strict next time. Thanks, Mao Han