qemu-patch-raspberry4/stubs
Daniel P. Berrange 9397740244 trace: remove global 'uint16 dstate[]' array
Instead of having a global dstate array, declare a single
'uint16 TRACE_${EVENT_NAME}_DSTATE' variable for each
trace event. Record a pointer to this variable in the
TraceEvent struct too.

By turning trace_event_get_state_dynamic_by_id into a
macro, this still hits the fast path, and cache affinity
is ensured by declaring all the uint16 vars adjacent to
each other.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Lluís Vilanova <vilanova@ac.upc.edu>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 1475588159-30598-7-git-send-email-berrange@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2016-10-12 09:35:54 +02:00
..
arch-query-cpu-def.c
arch-query-cpu-model-baseline.c qmp: add QMP interface "query-cpu-model-baseline" 2016-09-06 17:06:51 +02:00
arch-query-cpu-model-comparison.c qmp: add QMP interface "query-cpu-model-comparison" 2016-09-06 17:06:51 +02:00
arch-query-cpu-model-expansion.c qmp: add QMP interface "query-cpu-model-expansion" 2016-09-06 17:06:51 +02:00
bdrv-next-monitor-owned.c
blk-commit-all.c
blockdev-close-all-bdrv-states.c
clock-warp.c
cpu-get-clock.c
cpu-get-icount.c include: move CPU-related definitions out of qemu-common.h 2016-05-19 13:08:04 +02:00
cpus.c
dump.c
fd-register.c
fdset-add-fd.c
fdset-find-fd.c
fdset-get-fd.c
fdset-remove-fd.c
gdbstub.c
get-fd.c
get-next-serial.c
get-vm-name.c
iohandler.c
iothread-lock.c
ipmi.c acpi: Add IPMI table entries 2016-06-24 05:13:57 +03:00
is-daemonized.c
kvm.c
machine-init-done.c
Makefile.objs qmp: add QMP interface "query-cpu-model-baseline" 2016-09-06 17:06:51 +02:00
migr-blocker.c
mon-is-qmp.c
mon-printf.c
monitor-init.c
notify-event.c
pc_madt_cpu_entry.c pc: acpi: introduce AcpiDeviceIfClass.madt_cpu hook 2016-06-24 05:21:16 +03:00
qmp_pc_dimm_device_list.c
qtest.c
replay-user.c
replay.c replay: allow replay stopping and restarting 2016-09-27 11:57:30 +02:00
reset.c
runstate-check.c
set-fd-handler.c
slirp.c qemu-common: stop including qemu/host-utils.h from qemu-common.h 2016-05-19 16:42:28 +02:00
smbios_type_38.c ipmi: Add SMBIOS table entry 2016-06-24 05:13:57 +03:00
sysbus.c
target-get-monitor-def.c
target-monitor-defs.c
trace-control.c trace: remove global 'uint16 dstate[]' array 2016-10-12 09:35:54 +02:00
uuid.c util: Add UUID API 2016-09-23 11:42:52 +08:00
vhost.c
vm-stop.c
vmstate.c tests: Add ptimer tests 2016-09-22 18:13:07 +01:00