Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175471
b: refs/heads/master
c: f5754bf
h: refs/heads/master
i:
  175469: 3404428
  175467: fe77a88
  175463: 53e53b8
  175455: 05aae9b
v: v3
  • Loading branch information
Frank Rowand authored and Ingo Molnar committed Dec 6, 2009
1 parent e1ec3f1 commit 1afcc63
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 109d71c6dd52ec08878c2c67eb4c0bd67fcbc80b
refs/heads/master: f5754bfd107b08edddaf871d676ec6fe0792d07a
12 changes: 12 additions & 0 deletions trunk/Documentation/lockstat.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,20 @@ applicable).
It also tracks 4 contention points per class. A contention point is a call site
that had to wait on lock acquisition.

- CONFIGURATION

Lock statistics are enabled via CONFIG_LOCK_STATS.

- USAGE

Enable collection of statistics:

# echo 1 >/proc/sys/kernel/lock_stat

Disable collection of statistics:

# echo 0 >/proc/sys/kernel/lock_stat

Look at the current lock statistics:

( line numbers not part of actual output, done for clarity in the explanation
Expand Down

0 comments on commit 1afcc63

Please sign in to comment.