All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] pm-graph v5.12
@ 2024-05-31  9:13 Todd Brandt
  2024-05-31  9:13 ` [PATCH 1/2] pm-graph v5.12, fixes Todd Brandt
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Todd Brandt @ 2024-05-31  9:13 UTC (permalink / raw)
  To: linux-pm, rafael.j.wysocki, rjw; +Cc: todd.e.brandt, todd.e.brandt

pm-graph v5.12

Code revamp for python3.12:
 sleepgraph/bootgraph function correctly in python3.12 but include a slew
 of deprecation warnings for unsupported regexes. This patch fixes up all
 the strings in the code so that it comforms with python3.12 standards.

Other updates:
- fix S3 suspend fail double run by using fp.flush to /sys/power/state
- when running turbostat print the return value
- handle case where html files have binary data
- max issues in summary-issues is now 100 (in case there are thousands)
- add backup to dmidecode, use /sys/class/dmi/id/ in case /dev/mem fails
- update summary page to use full mode (disk-platform instead of disk)

Todd Brandt (2):
  pm-graph v5.12, fixes
  pm-graph v5.12, code revamp for python3.12

 tools/power/pm-graph/bootgraph.py  |   16 +-
 tools/power/pm-graph/sleepgraph.py | 1098 ++++++++++++++--------------
 2 files changed, 571 insertions(+), 543 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-07 19:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-31  9:13 [PATCH 0/2] pm-graph v5.12 Todd Brandt
2024-05-31  9:13 ` [PATCH 1/2] pm-graph v5.12, fixes Todd Brandt
2024-05-31  9:13 ` [PATCH 2/2] pm-graph v5.12, code revamp for python3.12 Todd Brandt
2024-06-07 19:30 ` [PATCH 0/2] pm-graph v5.12 Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.