From c6ce9f176f5bc8d24ce0030198dffc8b80e77f80 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Fri, 13 Nov 2015 13:23:45 +0100 Subject: [PATCH] alpha: convert "naked" qemu_log to tracepoint Reviewed-by: Richard Henderson Signed-off-by: Paolo Bonzini --- hw/alpha/pci.c | 3 ++- trace-events | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) 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" -- GitLab