public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* /proc/lock_stat "stuck"
@ 2008-05-20 18:09 Alan D. Brunelle
  2008-05-21  9:16 ` Peter Zijlstra
  0 siblings, 1 reply; 4+ messages in thread
From: Alan D. Brunelle @ 2008-05-20 18:09 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org

I'm attempting to use /proc/lock_stat to gather some information during
some benchmarking runs, but what I find happens is as follows:

1. I boot the system - 2.6.26-rc3 kernel + CONFIG_LOCK_STAT=y

2. I can then look at /proc/lock_stat, and it has valid-looking values

3. I wait a while, do some stuff, but when I look at /proc/lock_stat
again the values have not changed.

4. If I clear the counters - echo 0 > /proc/lock_stat - the counters
never increase, and no information besides the headers are output when I
cat /proc/lock_stat.


Is there something that one needs to do to get counter updates?

Thanks,
Alan D. Brunelle

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-21 11:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-20 18:09 /proc/lock_stat "stuck" Alan D. Brunelle
2008-05-21  9:16 ` Peter Zijlstra
2008-05-21 11:09   ` Alan D. Brunelle
2008-05-21 11:29     ` Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox