Messages in this thread | | | Date | Wed, 01 Jul 2009 23:17:58 +0900 (JST) | Subject | Re: [PATCH][RFC] Adding information of counts processes acquired how many spinlocks to schedstat | From | mitake@dcl ... |
| |
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...
| |