diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-11-13 13:23:45 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-12-17 17:33:47 +0100 |
commit | c6ce9f176f5bc8d24ce0030198dffc8b80e77f80 (patch) | |
tree | 1dcbd288ab3bd13418586d3970b8f210b9ae2c49 | |
parent | 013a29424c9a1e4a74a108bbc117fef5581abb41 (diff) |
alpha: convert "naked" qemu_log to tracepoint
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | hw/alpha/pci.c | 3 | ||||
-rw-r--r-- | trace-events | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/hw/alpha/pci.c b/hw/alpha/pci.c index d839dd556a..5226e43b96 100644 --- a/hw/alpha/pci.c +++ b/hw/alpha/pci.c @@ -10,6 +10,7 @@ #include "alpha_sys.h" #include "qemu/log.h" #include "sysemu/sysemu.h" +#include "trace.h" /* Fallback for unassigned PCI I/O operations. Avoids MCHK. */ @@ -73,7 +74,7 @@ static uint64_t iack_read(void *opaque, hwaddr addr, unsigned size) static void special_write(void *opaque, hwaddr addr, uint64_t val, unsigned size) { - qemu_log("pci: special write cycle"); + trace_alpha_pci_iack_write(); } const MemoryRegionOps alpha_pci_iack_ops = { diff --git a/trace-events b/trace-events index 55f5b9ed2c..49f4523c0f 100644 --- a/trace-events +++ b/trace-events @@ -1758,6 +1758,9 @@ cpu_unhalt(int cpu_index) "unhalting cpu %d" # hw/arm/virt-acpi-build.c virt_acpi_setup(void) "No fw cfg or ACPI disabled. Bailing out." +# hw/alpha/pci.c +alpha_pci_iack_write(void) "" + # audio/alsaaudio.c alsa_revents(int revents) "revents = %d" alsa_pollout(int i, int fd) "i = %d fd = %d" |