qemu-trivial
[Top][All Lists]
Advanced

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

Re: [PATCH v2 4/4] hw/sensor/tmp105: Convert printf() to trace event, a


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2 4/4] hw/sensor/tmp105: Convert printf() to trace event, add tracing for read/write access
Date: Sun, 3 Nov 2024 21:25:12 +0100
User-agent: Mozilla Thunderbird

On 3/11/24 11:33, Bernhard Beschow wrote:
printf() unconditionally prints to the console which disturbs `-serial stdio`.
Fix that by converting into a trace event. While at it, add some tracing for
read and write access.

Fixes: 7e7c5e4c1ba5 "Nokia N800 machine support (ARM)."
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
---
  meson.build            | 1 +
  hw/sensor/trace.h      | 1 +
  hw/sensor/tmp105.c     | 7 ++++++-
  hw/sensor/trace-events | 6 ++++++
  4 files changed, 14 insertions(+), 1 deletion(-)
  create mode 100644 hw/sensor/trace.h
  create mode 100644 hw/sensor/trace-events

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




reply via email to

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