[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100817141013.GA5879@lenovo>
Date: Tue, 17 Aug 2010 18:10:13 +0400
From: Cyrill Gorcunov <gorcunov@...il.com>
To: Lin Ming <ming.m.lin@...el.com>
Cc: Ingo Molnar <mingo@...e.hu>, Stephane Eranian <eranian@...gle.com>,
Frédéric Weisbecker <fweisbec@...il.com>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
LKML <linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>
Subject: Re: [RFC -tip]
On Tue, Aug 17, 2010 at 05:14:01PM +0800, Lin Ming wrote:
> On Mon, 2010-08-16 at 19:02 +0800, Cyrill Gorcunov wrote:
> > Hi,
> >
> > please review the approach, I can't test it due to lack
> > of hw (btw Ming, if you have some spare minutes -- mind to
> > pass some event as RAW and see how it goes?).
>
> #raw event for cpu cycles
> perf top -e r3000020c0403c000
>
> #raw event for cache-misses
> perf top -e r120e00030803e000
>
Ming, I had something different in mind, I'll prepare the case
to be tested. Will notify you. Thanks!
> I tried some raw events and it works.
>
> > Index: linux-2.6.git/arch/x86/include/asm/Kbuild
> > =====================================================================
> > --- linux-2.6.git.orig/arch/x86/include/asm/Kbuild
> > +++ linux-2.6.git/arch/x86/include/asm/Kbuild
> > @@ -24,3 +24,4 @@ unifdef-y += unistd_32.h
> > unifdef-y += unistd_64.h
> > unifdef-y += vm86.h
> > unifdef-y += vsyscall.h
> > +unifdef-y += perf_event_p4.h
>
> +header-y += perf_event_p4.h
>
> Need to update this to header-y.
Yeah, thanks for catching this!
>
> Thanks,
> Lin Ming
>
...
-- Cyrill
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists