projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fs: move get_empty_filp() deffinition to internal.h
[deliverable/linux.git]
/
Documentation
/
lockstat.txt
diff --git
a/Documentation/lockstat.txt
b/Documentation/lockstat.txt
index 9cb9138f7a79bcd67bf4ac2f69741e812b5a14c2..65f4c795015dead0cfde0f60381b7efcec67da9b 100644
(file)
--- a/
Documentation/lockstat.txt
+++ b/
Documentation/lockstat.txt
@@
-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.
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
- 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
Look at the current lock statistics:
( line numbers not part of actual output, done for clarity in the explanation
This page took
0.024073 seconds
and
5
git commands to generate.