lkml.org 
[lkml]   [2009]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2 -tip] perf_counter: parse-events.c introduce alias member in event_symbol
From
Date
On Tue, 2009-06-23 at 10:24 +0200, Ingo Molnar wrote:
> * Jaswinder Singh Rajput <jaswinder@kernel.org> wrote:
>
> >
> > perf test also need some command to execute otherwise it will also
> > show long list of <inactive>
>
> I think what it should do is to execute test-cases _internally_. Not
> just execute some random command on the system and hope for events.
>

Can you suggest some good test cases where we can get numbers for almost
all the events on each and every run.


> > context-switches 7956
> > CPU-migrations 7
>
> this needs to be provoked intentionally via sched_setaffinity():
> first migrate to cpu0, then to cpu1.
>

There should be some option from user or we test it each time.

> > L1-data-Cache-Load-Referencees 398303881
> > L1-data-Cache-Load-Misses 3552374
> > L1-data-Cache-Store-Referencees 270178
> > L1-data-Cache-Store-Misses <inactive>
>
> this is probably inactive due to AMD not having events for that and
> the generic cache event being 0 there, right?
>

Yes, it is not set for AMD.

Thanks,
--
JSR



\
 
 \ /
  Last update: 2009-06-23 16:05    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site