Received: by 2002:a17:90a:c8b:0:0:0:0 with SMTP id v11csp2302761pja; Fri, 19 Apr 2019 11:36:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxTFbvGGIEm+WuhlCD45ZnR0OW36iX37RuvnpJrqSDHFKsBUW6+YkyhY6B4t4wLytWfDsD7 X-Received: by 2002:a63:cf:: with SMTP id 198mr5107674pga.228.1555698989305; Fri, 19 Apr 2019 11:36:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555698989; cv=none; d=google.com; s=arc-20160816; b=X7w1O0abASmU6XLEUyUb4S8MpwGwATA6uWOKKm/HAMgERxrTYcSZRWSaocjReh94AR o+wxD+PesHTx2inm4F2soP+Fg+O5CtztlrihXZMJK0GcenFcv0x+8fhT83zyyYTznzO+ FdD6wBoZiM/6CuOd49cxzFjvJPxA3mvBKVt1S7lom8kNDtnLs7WLLgIAS+Rse0+pLQdB WWYas1xLCsZN+wcPyR9PJ3H6GXGv6uDLMTkXFzPbVjbV+L4XsDU7L12VRXVX6xEAL1iy At4ybUiZHqWhIeZbal56RrzaNGSNuRXWkS74uLT/Pws5WtCZfE51Xj3ASbzhRSrpAwTk Tbmw== 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:dkim-signature; bh=YbZUwrk2PH9ofqlhVdhHs9qFDFXvdKHaJsan79MCyKE=; b=CozEepfr+f1O7rK4ROSahFs9tZTsrKlhnl3wghbo1r9Zq4bKRVujmEA10+mN+xxk5T zqa5qulNR8FEVbGUgg2UIOwNv/cjgA4E2/vhBVPhmTgzl/3TVvE0pcpBCZawB7jA/1bi a/JX9IvLy2Ru6KUCKeOhKSHuF39Ls6jJLTebf9SnLbXZ94a6sZANaAnxNeQ/hf/8J7XI vfUe11tIKuursvMVmhkL+/RcrPvxvh04TvPMXetkYsIV+6xM5eNiYn7UCKPl9x/C5eVh sYFqPy85OSDfJP+fmKtqZZqgAqZj/WOTLuOeMSEaCghv5KbITERzJ8uuUD+/9s3TLia/ +CRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=p4PglF2b; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l6si5162643pgq.213.2019.04.19.11.36.14; Fri, 19 Apr 2019 11:36:29 -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; dkim=pass header.i=@kernel.org header.s=default header.b=p4PglF2b; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728150AbfDSSda (ORCPT + 99 others); Fri, 19 Apr 2019 14:33:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:53926 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727749AbfDSS3Q (ORCPT ); Fri, 19 Apr 2019 14:29:16 -0400 Received: from guoren-Inspiron-7460 (23.83.240.247.16clouds.com [23.83.240.247]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 50D4B21917; Fri, 19 Apr 2019 11:22:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555672963; bh=Urs8rXEo61oN+xN5Rmqmzbm8bzHqq92eoubxRXJFsjk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=p4PglF2bvX2OUC4TAfvXZhlpeboc/DwGaT1oaY3WdzsS6TlqMEnXsEkZqdtPySplu WfE6koUMhhD1YLGOng/q0n3fH1kxxlsCBTJBIllevAH7wWSQRNlSAOj897148wdfmk Zz+ibgrlpQxWatgge5ffDz0mrMZsnvAxn/npQHY4= Date: Fri, 19 Apr 2019 19:22:37 +0800 From: Guo Ren To: Mao Han Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH V5 0/2] csky: perf callchain dwarf support Message-ID: <20190419112237.GB20554@guoren-Inspiron-7460> References: 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 Nice Job, Maomao Signed-off: Guo Ren On Mon, Apr 15, 2019 at 05:17:28PM +0800, Mao Han wrote: > This patch set add perf DWARF unwinding support for C-SKY. > Including user registers/stack dump API, and libdw support. > > CC: Guo Ren > > Changes since v4: > - remove some of the dwarf regs definition > > Changes since v3: > - update with patch from Arnaldo > replace other hweight_long with hweight64 > > Changes since v2: > - use same registers name as struct pt_regs > - code convention > > Changes since v1: > - seperate the callchain support using frame pointer > Mao Han (2): > csky: Add support for perf registers sampling > csky: Add support for libdw > > arch/csky/Kconfig | 2 + > arch/csky/include/uapi/asm/perf_regs.h | 51 ++++++++++++++ > arch/csky/kernel/Makefile | 1 + > arch/csky/kernel/perf_regs.c | 40 +++++++++++ > tools/arch/csky/include/uapi/asm/perf_regs.h | 51 ++++++++++++++ > tools/perf/Makefile.config | 6 +- > tools/perf/arch/csky/Build | 1 + > tools/perf/arch/csky/Makefile | 3 + > tools/perf/arch/csky/include/perf_regs.h | 100 +++++++++++++++++++++++++++ > tools/perf/arch/csky/util/Build | 2 + > tools/perf/arch/csky/util/dwarf-regs.c | 49 +++++++++++++ > tools/perf/arch/csky/util/unwind-libdw.c | 77 +++++++++++++++++++++ > 12 files changed, 382 insertions(+), 1 deletion(-) > create mode 100644 arch/csky/include/uapi/asm/perf_regs.h > create mode 100644 arch/csky/kernel/perf_regs.c > create mode 100644 tools/arch/csky/include/uapi/asm/perf_regs.h > create mode 100644 tools/perf/arch/csky/Build > create mode 100644 tools/perf/arch/csky/Makefile > create mode 100644 tools/perf/arch/csky/include/perf_regs.h > create mode 100644 tools/perf/arch/csky/util/Build > create mode 100644 tools/perf/arch/csky/util/dwarf-regs.c > create mode 100644 tools/perf/arch/csky/util/unwind-libdw.c > > -- > 2.7.4 >