diff options
author | Geert Uytterhoeven <[email protected]> | 2016-02-23 17:49:17 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2016-03-09 00:36:03 +0100 |
commit | 6954d43292674aaacc9b1cdbc28b1b2ea0cc6445 (patch) | |
tree | e815e356bb26d68f2aaab353aee77df172859557 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 90e63452ac3a42c9ff10b12880429e8592cf39ec (diff) |
PM / Domains: Restore alignment of slaves in debugfs output
The slave domains are no longer aligned with the table header in the
/sys/kernel/debug/pm_genpd/pm_genpd_summary output. Worse, the alignment
differs depending on the actual name of the state.
Format the state name and index into a buffer, and print that like
before to restore alignment.
Use "%u" for unsigned int while we're at it.
Fixes: fc5cbf0c94b6f7fd (PM / Domains: Support for multiple states)
Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Ulf Hansson <[email protected]>
Tested-by: Kevin Hilman <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions