summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCharles Haithcock <chaithco@redhat.com>2026-09-01 15:42:49 -0600
committerGuenter Roeck <linux@roeck-us.net>2026-09-21 07:25:20 -0700
commit7b08904eb388d942fed86adf4f5edaaed554e814 (patch)
tree41b0dc891c153e164e82eadfe665c72090252176 /tools/perf/scripts/python
parentfb660c11cefb578715a2d2461aad9e4cc94ebe4c (diff)
watchdog: Differentiate scenarios when watchdog is closed
Presently, when a watchdog device is closed, we print "watchdog did not stop" in a few different scenarios; 1. When nowayout is set 2. When the watchdog is able to close, has received the magic character to stop, but fails to close in device-specific code paths 3. When userspace deliberately closes it without stopping it For 1, we explicitly print we can not close because of nowayout. Nothing differentiates the other two however. This change adds a print to indicate the watchdog was closed while still running. Suggested-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Charles Haithcock <chaithco@redhat.com> Link: https://patch.msgid.link/20260901214251.760184-1-chaithco@redhat.com [groeck: Fixed multi-line alignment] Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions