trace: Eliminate use of TARGET_FMT_plx
commit988fa1030401b9cec82d26ec7a01f2df7326dde5
authorMarkus Armbruster <armbru@redhat.com>
Mon, 12 Aug 2019 05:23:36 +0000 (12 07:23 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Fri, 16 Aug 2019 11:31:51 +0000 (16 13:31 +0200)
treede0c2d0ade47ee5f721aac8d664010fe658cf964
parentcbcbba980518bfb41f2725545f187da8171d0b65
trace: Eliminate use of TARGET_FMT_plx

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 <stefanha@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20190812052359.30071-7-armbru@redhat.com>
hw/tpm/trace-events
scripts/tracetool/format/log_stap.py