diff options
| author | Emilio G. Cota <cota@braap.org> | 2018-05-22 18:26:52 -0400 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@redhat.com> | 2018-06-27 11:09:24 +0100 |
| commit | d071f4cd5579fe82ba764e4c29f06664658e3762 (patch) | |
| tree | 03a30d42e3222154a0e5abcdad0c5bdc67c69e69 /scripts/tracetool/__init__.py | |
| parent | f9b47999afbf84ddbe7e5649a82f477bb77e3b38 (diff) | |
| download | focaccia-qemu-d071f4cd5579fe82ba764e4c29f06664658e3762.tar.gz focaccia-qemu-d071f4cd5579fe82ba764e4c29f06664658e3762.zip | |
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 'scripts/tracetool/__init__.py')
0 files changed, 0 insertions, 0 deletions