qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/4] hw/watchdog: add trace events for watchdog action handli


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 3/4] hw/watchdog: add trace events for watchdog action handling
Date: Mon, 31 Oct 2022 16:46:36 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.4.0

On 31/10/22 14:19, Daniel P. Berrangé wrote:
The tracepoints aid in debugging the triggering of watchdog devices.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
  hw/watchdog/trace-events | 4 ++++
  hw/watchdog/watchdog.c   | 4 ++++
  2 files changed, 8 insertions(+)

diff --git a/hw/watchdog/trace-events b/hw/watchdog/trace-events
index 89ccbcfdfd..fc1d048702 100644
--- a/hw/watchdog/trace-events
+++ b/hw/watchdog/trace-events
@@ -16,3 +16,7 @@ spapr_watchdog_stop(uint64_t num, uint64_t ret) "num=%" PRIu64 " 
ret=%" PRId64
  spapr_watchdog_query(uint64_t caps) "caps=0x%" PRIx64
  spapr_watchdog_query_lpm(uint64_t caps) "caps=0x%" PRIx64
  spapr_watchdog_expired(uint64_t num, unsigned action) "num=%" PRIu64 " 
action=%u"
+
+# watchdog.c
+watchdog_perform_action(unsigned int action) "action=%d"
+watchdog_set_action(unsigned int action) "action=%d"

"%u", otherwise:

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]