]> git.proxmox.com Git - qemu.git/commit - docs/tracing.txt
trace: Use portable format strings
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Tue, 5 Oct 2010 13:28:50 +0000 (14:28 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 9 Oct 2010 08:16:45 +0000 (08:16 +0000)
commit9a85d3944715c709d740edb987b84bd657b9d7ef
tree16ae216eeb23b6294efc2a36268d37c2cf8286fa
parent3e18c6bf7740e4a75503b803ec7d5dc29a531e4f
trace: Use portable format strings

It is not portable to use "%ld" for int64_t because int64_t may have
type long on 64-bit platforms and long long on 32-bit platforms.  Use
the standard library PRId64 macros to keep format strings portable.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
docs/tracing.txt
trace-events