diff options
author | Rafael J. Wysocki <[email protected]> | 2024-01-29 17:25:48 +0100 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2024-02-05 14:28:54 +0100 |
commit | ac6f87aaa26fa88680db23051a5d2b13a08d13b8 (patch) | |
tree | 84abee80d8c19440457e08aefa8f32d28ecc40f3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a6d38e991dc4f1b4a86137177435660df53951c5 (diff) |
PM: sleep: stats: Log errors right after running suspend callbacks
The error logging and failure statistics updates are carried out in two
places in each system-wide device suspend phase, which is unnecessary
code duplication, so do that in one place in each phase, right after
invoking device suspend callbacks.
While at it, add "noirq" or "late" to the "async" string printed when
the failing device callback in the "noirq" or "late" suspend phase,
respectively, was run asynchronously.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Reviewed-by: Stanislaw Gruszka <[email protected]>
Reviewed-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions