Messages in this thread | | | Date | Fri, 13 Nov 2009 13:21:25 +0900 (JST) | Subject | Re: [PATCH][RFC] Measuring term of acquiring spinlock | From | Hitoshi Mitake <> |
| |
From: Ingo Molnar <mingo@elte.hu> Subject: Re: [PATCH][RFC] Measuring term of acquiring spinlock Date: Thu, 12 Nov 2009 08:39:09 +0100
> > * Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> wrote: > > > * Description > > > > This patch makes the file spinlock_stats on top of the debugfs. > > When user reads this file, some statistical data related to > > spinlocks are printed. > > hm, are you aware of the lockstat tracepoints? They do something like > this - and it utilizes perf events to report these events. See > include/trace/events/lockdep.h. Needs CONFIG_LOCK_STAT enabled. >
Wow, I didn't know that. I'll try it.
> Might make sense to put it into 'perf lock' kind of tool. I think > Frederic had such plans.
If you want a tester for 'perf lock', please call me, Frederic :)
| |