[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 06/29] trace: Eliminate use of TARGET_FMT_plx
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v2 06/29] trace: Eliminate use of TARGET_FMT_plx |
Date: |
Wed, 7 Aug 2019 10:29:48 +0100 |
User-agent: |
Mutt/1.12.0 (2019-05-25) |
On Tue, Aug 06, 2019 at 05:14:12PM +0200, Markus Armbruster wrote:
> hw/tpm/trace-events uses TARGET_FMT_plx formats with uint64_t
> arguments. That's wrong, TARGET_FMT_plx takes hwaddr. Since hwaddr
> happens to be uint64_t, it works anyway. Messed up in commit
> ec427498da5, v2.12.0. Clean up by replacing TARGET_FMT_plx with its
> macro expansion.
>
> scripts/tracetool/format/log_stap.py (commit 62dd1048c0b, v4.0.0) has
> a special case for TARGET_FMT_plx. Delete it.
>
> Cc: Stefan Hajnoczi <address@hidden>
> Signed-off-by: Markus Armbruster <address@hidden>
> Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
> Tested-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> hw/tpm/trace-events | 4 ++--
> scripts/tracetool/format/log_stap.py | 3 ---
> 2 files changed, 2 insertions(+), 5 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
- Re: [Qemu-devel] [PATCH v2 07/29] trace: Do not include qom/cpu.h into generated trace.h, (continued)
- [Qemu-devel] [PATCH v2 23/29] numa: Don't include hw/boards.h into sysemu/numa.h, Markus Armbruster, 2019/08/06
- [Qemu-devel] [PATCH v2 24/29] Include sysemu/hostmem.h less, Markus Armbruster, 2019/08/06
- [Qemu-devel] [PATCH v2 06/29] trace: Eliminate use of TARGET_FMT_plx, Markus Armbruster, 2019/08/06
- Re: [Qemu-devel] [PATCH v2 06/29] trace: Eliminate use of TARGET_FMT_plx,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH v2 22/29] Include hw/boards.h a bit less, Markus Armbruster, 2019/08/06
[Qemu-devel] [PATCH v2 08/29] Include sysemu/reset.h a lot less, Markus Armbruster, 2019/08/06
[Qemu-devel] [PATCH v2 28/29] sysemu: Move the VMChangeStateEntry typedef to qemu/typedefs.h, Markus Armbruster, 2019/08/06