aboutsummaryrefslogtreecommitdiff
path: root/ui/input.c
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2018-05-22 18:26:52 -0400
committerStefan Hajnoczi <stefanha@redhat.com>2018-06-27 11:09:24 +0100
commitd071f4cd5579fe82ba764e4c29f06664658e3762 (patch)
tree03a30d42e3222154a0e5abcdad0c5bdc67c69e69 /ui/input.c
parentf9b47999afbf84ddbe7e5649a82f477bb77e3b38 (diff)
downloadqemu-d071f4cd5579fe82ba764e4c29f06664658e3762.zip
qemu-d071f4cd5579fe82ba764e4c29f06664658e3762.tar.gz
qemu-d071f4cd5579fe82ba764e4c29f06664658e3762.tar.bz2
trace: enable tracing of TCG atomics
We do not trace guest atomic accesses. Fix it. Tested with a modified atomic_add-bench so that it executes a deterministic number of instructions, i.e. fixed seeding, no threading and fixed number of loop iterations instead of running for a certain time. Before: - With parallel_cpus = false (no clone syscall so it is never set to true): 220070 memory accesses - With parallel_cpus = true (hard-coded): 212105 memory accesses <-- we're not tracing the atomics! After: 220070 memory accesses regardless of parallel_cpus. Signed-off-by: Emilio G. Cota <cota@braap.org> Message-id: 1527028012-21888-6-git-send-email-cota@braap.org Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'ui/input.c')
0 files changed, 0 insertions, 0 deletions