Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755379Ab0GLI4H (ORCPT ); Mon, 12 Jul 2010 04:56:07 -0400 Received: from mail4.hitachi.co.jp ([133.145.228.5]:35397 "EHLO mail4.hitachi.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753118Ab0GLI4F (ORCPT ); Mon, 12 Jul 2010 04:56:05 -0400 X-AuditID: b753bd60-a7602ba000007d15-0d-4c3ad8a1a6ca Message-ID: <4C3AD89F.5030006@hitachi.com> Date: Mon, 12 Jul 2010 17:55:59 +0900 From: Masami Hiramatsu Organization: Systems Development Lab., Hitachi, Ltd., Japan User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Paul Mundt Cc: Matt Fleming , linux-kernel@vger.kernel.org, Peter Zijlstra , Paul Mackerras , Ingo Molnar , Arnaldo Carvalho de Melo , Ian Munsie , Masami Hiramatsu Subject: Re: [PATCH] perf: Add DWARF register lookup for SH References: <4C3A75E3.6070803@hitachi.com> <87lj9h8bgv.fsf@linux-g6p1.site> <20100712064126.GA3716@linux-sh.org> In-Reply-To: <20100712064126.GA3716@linux-sh.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== X-FMFTCR: RANGEC Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1345 Lines: 32 Paul Mundt wrote: > On Mon, Jul 12, 2010 at 07:23:44AM +0100, Matt Fleming wrote: >> On Mon, 12 Jul 2010 10:54:43 +0900, Masami Hiramatsu wrote: >>> Matt Fleming wrote: >>>> Implement get_arch_regstr() for SH so that, given a DWARF register >>>> number, the corresponding symbolic name of that register can be looked >>>> up. >>> OK, the patch itself looks good, but I don't know whether SH kernel >>> supports KPROBE_EVENT which is required for perf-probe. Or, SH kernel >>> repository already has it? >> No, SH doesn't support KPROBE_EVENT yet. It's on my list of things to >> do. However, this patch also stops the "DWARF register mappings have not >> been defined" warning when building perf. > > It does now, by virtue of HAVE_REGS_AND_STACK_ACCESS_API. The initial > support for this was checked in on June 14th, so you should be able to > use it already as long as you're working with current HEAD. Wow, that's great! :) Thanks! -- Masami HIRAMATSU 2nd Research Dept. Hitachi, Ltd., Systems Development Laboratory E-mail: masami.hiramatsu.pt@hitachi.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/