summaryrefslogtreecommitdiff
path: root/README.debugging
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-12-14 13:36:16 -0600
committerVictor Lowther <victor.lowther@gmail.com>2008-12-15 06:13:40 -0600
commit8cadf34e33592697a2fca23b81f3ce640c79e762 (patch)
treef1b442fd19d87f38adf50d660b4df49e7f6a7b24 /README.debugging
parent3ee39985a78ee89bae1f4c7e7865398c12ca1558 (diff)
Document PM_DEBUG and PM_PROFILE
Diffstat (limited to 'README.debugging')
-rw-r--r--README.debugging7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.debugging b/README.debugging
index 47c756a..d9989b4 100644
--- a/README.debugging
+++ b/README.debugging
@@ -27,6 +27,13 @@ End-user customization and debugging:
always synchronized clocks, but doing so is slow and most hardware stays in
sync without assistance.
+* If you want to see (and log) tons of debugging output, you can use
+ PM_DEBUG="true" to have the script log each action as it performs it.
+
+* If you want to see how long pm-utils takes to run hooks. you can use
+ PM_PROFILE="true" to log timing information on how long each hook takes
+ and how long running the hooks takes overall.
+
* To find out what parameters can be passed to pm-suspend and friends, run them
with '--help' as the first parameter as root. This will print out the
options that it supports and which hooks or modules handle those options.