All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alan D. Brunelle" <Alan.Brunelle@hp.com>
To: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: /proc/lock_stat "stuck"
Date: Tue, 20 May 2008 14:09:33 -0400	[thread overview]
Message-ID: <483313DD.2020904@hp.com> (raw)

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

             reply	other threads:[~2008-05-20 18:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-20 18:09 Alan D. Brunelle [this message]
2008-05-21  9:16 ` /proc/lock_stat "stuck" Peter Zijlstra
2008-05-21 11:09   ` Alan D. Brunelle
2008-05-21 11:29     ` Peter Zijlstra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=483313DD.2020904@hp.com \
    --to=alan.brunelle@hp.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.