Skip to content

Commit ffbb95a

Browse files
tebrandtrafaeljw
authored andcommitted
PM / tools: pm-graph: upgrade to v5.1
general changes: - make python dependent on version2 to enable clearlinux - upgrade dmesg error/warning extraction to be more detailed - enable logs generated from -cmd runs to be processed in gzip form - add notification on power mode entry failure into the timeline - add -battery option to show if battery is connected and its charge summary changes (output of -summary): - add -genhtml option to regenerate missing timelines from logs found - add min/max/median/avg data to the summary page with links to the data - add highlight to minimum, maximum, and median tests - add result column to summary (pass or fail) with red highlight on fail - add issues column to summary with a list of dmesg err/warn/bugs Signed-off-by: Todd Brandt <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 3545910 commit ffbb95a

File tree

3 files changed

+267
-138
lines changed

3 files changed

+267
-138
lines changed

tools/power/pm-graph/bootgraph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/python2
22
#
33
# Tool for analyzing boot timing
44
# Copyright (c) 2013, Intel Corporation.

tools/power/pm-graph/sleepgraph.8

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ Create a summary page of all tests in \fIindir\fR. Creates summary.html
168168
in the current folder. The output page is a table of tests with
169169
suspend and resume values sorted by suspend mode, host, and kernel.
170170
Includes test averages by mode and links to the test html files.
171+
Use -genhtml to include tests with missing html.
171172
.TP
172173
\fB-modes\fR
173174
List available suspend modes.
@@ -179,6 +180,9 @@ with any options you intend to use to see if they will work.
179180
\fB-fpdt\fR
180181
Print out the contents of the ACPI Firmware Performance Data Table.
181182
.TP
183+
\fB-battery\fR
184+
Print out battery status and current charge.
185+
.TP
182186
\fB-sysinfo\fR
183187
Print out system info extracted from BIOS. Reads /dev/mem directly instead of going through dmidecode.
184188
.TP

0 commit comments

Comments
 (0)