lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 5f8a7d9 2/4: Improve documentation of 'perf'


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 5f8a7d9 2/4: Improve documentation of 'perf' enablement
Date: Thu, 10 Dec 2020 16:13:24 -0500 (EST)

branch: master
commit 5f8a7d97133f251786fe6dc09e355d1cf8acad3f
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Improve documentation of 'perf' enablement
---
 gwc/allow_perf.sh | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gwc/allow_perf.sh b/gwc/allow_perf.sh
index d5dfd9c..38bc5eb 100755
--- a/gwc/allow_perf.sh
+++ b/gwc/allow_perf.sh
@@ -27,6 +27,9 @@
 # This may become useful someday, but for now...
 exit 9
 
+# See:
+#   https://lists.nongnu.org/archive/html/lmi/2020-09/msg00073.html
+
 cd /usr/bin || { printf 'failed: cd\n'; exit 3; }
 groupadd perf_users
 chgrp perf_users perf
@@ -47,5 +50,6 @@ echo "usermod -aG perf_users SomeUserName"
 # but see:
 #   https://lists.nongnu.org/archive/html/lmi/2020-09/msg00073.html
 
-# Disliked alternative:
-# echo 1 >/proc/sys/kernel/perf_event_paranoid
+# Disliked alternative, which has the virtue of actually working--see:
+#   https://lists.nongnu.org/archive/html/lmi/2020-10/msg00017.html
+echo 1 >/proc/sys/kernel/perf_event_paranoid



reply via email to

[Prev in Thread] Current Thread [Next in Thread]