[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/5] hw/sh4: Remove newline character in trace events
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 2/5] hw/sh4: Remove newline character in trace events |
Date: |
Thu, 6 Jun 2024 12:39:40 +0200 |
Trace events aren't designed to be multi-lines. Remove
the newline character which doesn't bring much value.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
hw/sh4/trace-events | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/sh4/trace-events b/hw/sh4/trace-events
index 4b61cd56c8..6bfd7eebc4 100644
--- a/hw/sh4/trace-events
+++ b/hw/sh4/trace-events
@@ -1,3 +1,3 @@
# sh7750.c
-sh7750_porta(uint16_t prev, uint16_t cur, uint16_t pdtr, uint16_t pctr) "porta
changed from 0x%04x to 0x%04x\npdtra=0x%04x, pctra=0x%08x"
-sh7750_portb(uint16_t prev, uint16_t cur, uint16_t pdtr, uint16_t pctr) "portb
changed from 0x%04x to 0x%04x\npdtrb=0x%04x, pctrb=0x%08x"
+sh7750_porta(uint16_t prev, uint16_t cur, uint16_t pdtr, uint16_t pctr) "porta
changed from 0x%04x to 0x%04x (pdtra=0x%04x, pctra=0x%08x)"
+sh7750_portb(uint16_t prev, uint16_t cur, uint16_t pdtr, uint16_t pctr) "portb
changed from 0x%04x to 0x%04x (pdtrb=0x%04x, pctrb=0x%08x)"
--
2.41.0
- [PATCH 0/5] trace: Remove and forbid newline characters in event format, Philippe Mathieu-Daudé, 2024/06/06
- [PATCH 1/5] backends/tpm: Remove newline character in trace event, Philippe Mathieu-Daudé, 2024/06/06
- [PATCH 2/5] hw/sh4: Remove newline character in trace events,
Philippe Mathieu-Daudé <=
- [PATCH 3/5] hw/usb: Remove newline character in trace events, Philippe Mathieu-Daudé, 2024/06/06
- [PATCH 4/5] hw/vfio: Remove newline character in trace events, Philippe Mathieu-Daudé, 2024/06/06
- [PATCH 5/5] tracetool: Forbid newline character in event format, Philippe Mathieu-Daudé, 2024/06/06
- Re: [PATCH 0/5] trace: Remove and forbid newline characters in event format, Mads Ynddal, 2024/06/07
- Re: [PATCH 0/5] trace: Remove and forbid newline characters in event format, Stefan Hajnoczi, 2024/06/10