linux-mips
[Top] [All Lists]

Re: [PATCH v7 6/6] MIPS: add support for hardware performance events (mi

To: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
Subject: Re: [PATCH v7 6/6] MIPS: add support for hardware performance events (mipsxx)
From: Ingo Molnar <mingo@elte.hu>
Date: Thu, 30 Sep 2010 11:26:08 +0200
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org, a.p.zijlstra@chello.nl, paulus@samba.org, acme@redhat.com, jamie.iles@picochip.com
In-reply-to: <1285837760-10362-7-git-send-email-dengcheng.zhu@gmail.com>
References: <1285837760-10362-1-git-send-email-dengcheng.zhu@gmail.com> <1285837760-10362-7-git-send-email-dengcheng.zhu@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.20 (2009-08-17)
* Deng-Cheng Zhu <dengcheng.zhu@gmail.com> wrote:

> To test the functionality of Perf-event, you may want to compile the 
> tool "perf" for your MIPS platform. You can refer to the following 
> URL: 
> http://www.linux-mips.org/archives/linux-mips/2010-04/msg00158.html
> 
> Please note: Before that patch is accepted, you can choose a 
> "specific" rmb() which is suitable for your platform -- an example is 
> provided in the description of that patch.
> 
> You also need to customize the CFLAGS and LDFLAGS in 
> tools/perf/Makefile for your libs, includes, etc.

Mind submitting this patch to the perf maintainers as well, so that by 
the time MIPS kernel-side support hits mainline the tools/perf/ side 
will be usable 'out of box' ?

Thanks,

        Ingo

<Prev in Thread] Current Thread [Next in Thread>