summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMayank Rungta <mrungta@google.com>2026-09-09 15:48:18 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-09-25 18:56:34 +0200
commit33392343c74e417375b87032c66078a3bbc1dc91 (patch)
tree9d9e4bcca004dc7627eec7a74cf5e4687341fe43 /tools/perf/scripts/python
parent3b8650f2e8810f0baa48608c8dfe4f44120de123 (diff)
PM: sleep: Add DPM watchdog to prepare/late/early/noirq/complete phases
Extend the DPM watchdog to wrap device_prepare, device_suspend_late, device_suspend_noirq, device_resume_noirq, device_resume_early, and device_complete callbacks. If a driver hangs during these transitions, the watchdog will fire and dump a stack trace to help identify the offending driver. To prevent false-positive timeouts, the watchdog is set only after waiting for subordinate (during suspend) and superior (during resume) devices. With this change, DPM watchdog coverage is extended across all phases of system sleep transitions. Signed-off-by: Mayank Rungta <mrungta@google.com> Reviewed-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org> Link: https://patch.msgid.link/20260909224818.2177311-1-mrungta@google.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions