]> git.proxmox.com Git - mirror_qemu.git/commit
trace: add workaround for SystemTap PR13296
authorFrank Ch. Eigler <fche@redhat.com>
Tue, 25 Mar 2014 12:08:30 +0000 (13:08 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 1 Apr 2014 18:08:25 +0000 (20:08 +0200)
commit9bcec938aab22a1b7ced916a6895e5029d4ed04f
treefc2d2e80dfc04b72cb1a512c594e8d92758d6783
parent63678e17cf399ff81b93417fe7bee8d6ef6b6b1b
trace: add workaround for SystemTap PR13296

SystemTap sdt.h sometimes results in compiled probes without sufficient
information to extract arguments.  This can be solved in a slightly
hacky way by encouraging the compiler to place arguments into registers.

This patch fixes the apic_reset_irq_delivered() trace event on Fedora 20
with gcc-4.8.2-7.fc20 and systemtap-sdt-devel-2.4-2.fc20 on x86_64.

Signed-off-by: Frank Ch. Eigler <fche@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/intc/apic_common.c