lkml.org 
[lkml]   [2010]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2010-08-17 16:13    [from the cache]
©2003-2011 Jasper Spaans