]> git.proxmox.com Git - qemu.git/commit
trace: Remove %s in grlib trace events
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Thu, 14 Apr 2011 17:11:00 +0000 (18:11 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Tue, 26 Apr 2011 12:14:49 +0000 (13:14 +0100)
commitb4548fcc0314f5e118ed45b5774e9cd99f9a97d3
treecfa89cbb83dadb4889c1d9e5cfe49aee15a581c7
parent1a96dd472c37ceeefc0d488cb7722c6714d2f0b7
trace: Remove %s in grlib trace events

Trace events cannot use %s in their format strings because trace
backends vary in how they can deference pointers (if at all).  Recording
const char * values is not meaningful if their contents are not recorded
too.

Change grlib trace events that rely on strings so that they communicate
similar information without using strings.

A follow-up patch explains this limitation and updates docs/tracing.txt.

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
hw/grlib_apbuart.c
hw/grlib_gptimer.c
hw/grlib_irqmp.c
trace-events