[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH-for-5.2 3/4] hw/char/serial: Let SerialState have an 'id' fie
From: |
Richard Henderson |
Subject: |
Re: [PATCH-for-5.2 3/4] hw/char/serial: Let SerialState have an 'id' field |
Date: |
Wed, 12 Aug 2020 10:43:19 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 8/6/20 6:03 AM, Philippe Mathieu-Daudé wrote:
> When a SoC has multiple UARTs (some configured differently),
> it is hard to associate events to their UART.
>
> To be able to distinct trace events between various instances,
> add an 'id' field. Update the trace format accordingly.
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> include/hw/char/serial.h | 1 +
> hw/char/serial.c | 7 ++++---
> hw/char/trace-events | 6 +++---
> 3 files changed, 8 insertions(+), 6 deletions(-)
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
- [PATCH-for-5.2 0/4] hw/char/serial: Use the Clock API to feed the UART reference clock, Philippe Mathieu-Daudé, 2020/08/06
- [PATCH-for-5.2 2/4] hw/char/serial: Remove old DEBUG_SERIAL commented code, Philippe Mathieu-Daudé, 2020/08/06
- [PATCH-for-5.2 3/4] hw/char/serial: Let SerialState have an 'id' field, Philippe Mathieu-Daudé, 2020/08/06
- Re: [PATCH-for-5.2 3/4] hw/char/serial: Let SerialState have an 'id' field,
Richard Henderson <=
- [PATCH-for-5.2 1/4] hw/char/serial: Replace commented DPRINTF() by trace event, Philippe Mathieu-Daudé, 2020/08/06
- [PATCH-for-5.2 4/4] hw/char/serial: Use the Clock API to feed the UART reference clock, Philippe Mathieu-Daudé, 2020/08/06
- Re: [PATCH-for-5.2 0/4] hw/char/serial: Use the Clock API to feed the UART reference clock, Philippe Mathieu-Daudé, 2020/08/22