[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090701.231758.128627745.mitake@dcl.info.waseda.ac.jp>
Date: Wed, 01 Jul 2009 23:17:58 +0900 (JST)
From: mitake@....info.waseda.ac.jp
To: mingo@...e.hu
Cc: fweisbec@...il.com, a.p.zijlstra@...llo.nl, paulus@...ba.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][RFC] Adding information of counts processes acquired
how many spinlocks to schedstat
From: Ingo Molnar <mingo@...e.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...
--
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