|author||Victor Lowther <firstname.lastname@example.org>||2008-12-14 13:36:16 -0600|
|committer||Victor Lowther <email@example.com>||2008-12-15 06:13:40 -0600|
Document PM_DEBUG and PM_PROFILE
Diffstat (limited to 'README.debugging')
1 files changed, 7 insertions, 0 deletions
diff --git a/README.debugging b/README.debugging
index 47c756a..d9989b4 100644
@@ -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.