qemu-e2k/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 stubs: Clean up includes 2016-02-04 17:01:04 +00:00
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 block: Add bdrv_next_monitor_owned() 2016-03-17 15:47:56 +01:00
blk-commit-all.c block: Move some bdrv_*_all() functions to BB 2016-03-17 15:47:56 +01:00
blockdev-close-all-bdrv-states.c all: Clean up includes 2016-02-16 14:29:28 +00:00
clock-warp.c icount: decouple warp calls 2016-03-15 18:23:45 +01:00
cpu-get-clock.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
cpu-get-icount.c include: move CPU-related definitions out of qemu-common.h 2016-05-19 13:08:04 +02:00
cpus.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
dump.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
fd-register.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
fdset-add-fd.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
fdset-find-fd.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
fdset-get-fd.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
fdset-remove-fd.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
gdbstub.c Clean up includes some more 2016-03-22 22:20:16 +01:00
get-fd.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
get-next-serial.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
get-vm-name.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
iohandler.c iohandler: Introduce iohandler_get_aio_context 2016-04-22 16:43:42 +02:00
iothread-lock.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
ipmi.c acpi: Add IPMI table entries 2016-06-24 05:13:57 +03:00
is-daemonized.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
kvm.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
machine-init-done.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
Makefile.objs qmp: add QMP interface "query-cpu-model-baseline" 2016-09-06 17:06:51 +02:00
migr-blocker.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
mon-is-qmp.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
mon-printf.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
monitor-init.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
notify-event.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
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 move get_current_ram_size to virtio-balloon.c 2016-02-23 12:55:16 +02:00
qtest.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
replay-user.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
replay.c replay: allow replay stopping and restarting 2016-09-27 11:57:30 +02:00
reset.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
runstate-check.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
set-fd-handler.c event-notifier: Add "is_external" parameter 2016-04-22 16:43:56 +02:00
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 stubs: Clean up includes 2016-02-04 17:01:04 +00:00
target-get-monitor-def.c Clean up includes some more 2016-03-22 22:20:16 +01:00
target-monitor-defs.c Clean up includes some more 2016-03-22 22:20:16 +01:00
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 stubs: Clean up includes 2016-02-04 17:01:04 +00:00
vm-stop.c stubs: Clean up includes 2016-02-04 17:01:04 +00:00
vmstate.c tests: Add ptimer tests 2016-09-22 18:13:07 +01:00