Skip to content

Commit

Permalink
alpha: convert "naked" qemu_log to tracepoint
Browse files Browse the repository at this point in the history
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
bonzini committed Dec 17, 2015
1 parent 013a294 commit c6ce9f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hw/alpha/pci.c
Expand Up @@ -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. */
Expand Down Expand Up @@ -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 = {
Expand Down
3 changes: 3 additions & 0 deletions trace-events
Expand Up @@ -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"
Expand Down

0 comments on commit c6ce9f1

Please sign in to comment.