lkml.org 
[lkml]   [2009]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH][RFC] Adding information of counts processes acquired how many spinlocks to schedstat
From
From: Ingo Molnar <mingo@elte.hu>
Subject: Re: [PATCH][RFC] Adding information of counts processes acquired how many spinlocks to schedstat
Date: Wed, 1 Jul 2009 15:50:32 +0200

>
> > Which makes me think it may be better to use the existing ftrace
> > lock events as softwares counters for that, which takes into
> > account the following events:
> >
> > - lock_acquire
> > - lock_release
> > - lock_contended
> > - lock_acquired
> >
> > And these events are per lock.
> >
> > Now the missing piece is the sampling count for events...
>
> Yeah, this is an even better idea. It gets the acquire counts - and
> much more.
>

Is there another way to implement more easily?
Fortunately or unfortunately, I didn't start implementing
because my x86_64 box died suddenly :-(
So I'll need a few days to fix, sorry...



\
 
 \ /
  Last update: 2009-07-01 16:21    [W:0.149 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site