lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-f5754bfd107b08edddaf871d676ec6fe0792d07a@git.kernel.org>
Date:	Sun, 6 Dec 2009 13:04:01 GMT
From:	tip-bot for Frank Rowand <frank.rowand@...sony.com>
To:	linux-tip-commits@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
	a.p.zijlstra@...llo.nl, frank.rowand@...sony.com,
	tglx@...utronix.de, mingo@...e.hu
Subject: [tip:core/urgent] lockstat: Add usage info to Documentation/lockstat.txt

Commit-ID:  f5754bfd107b08edddaf871d676ec6fe0792d07a
Gitweb:     http://git.kernel.org/tip/f5754bfd107b08edddaf871d676ec6fe0792d07a
Author:     Frank Rowand <frank.rowand@...sony.com>
AuthorDate: Thu, 19 Nov 2009 13:54:05 -0800
Committer:  Ingo Molnar <mingo@...e.hu>
CommitDate: Sun, 6 Dec 2009 13:20:02 +0100

lockstat: Add usage info to Documentation/lockstat.txt

Add usage info to Documentation/lockstat.txt

Signed-off-by: Frank Rowand <frank.rowand@...sony.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@...llo.nl>
LKML-Reference: <4B05BE7D.30500@...sony.com>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
 Documentation/lockstat.txt |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/Documentation/lockstat.txt b/Documentation/lockstat.txt
index 9cb9138..65f4c79 100644
--- 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.
 
+ - 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ