summaryrefslogtreecommitdiffstats
path: root/linux-headers/linux
diff options
context:
space:
mode:
authorHollis Blanchard2016-03-02 21:12:54 +0100
committerStefan Hajnoczi2016-03-14 10:34:30 +0100
commit5a68be94ac12472eb49fa267de9fb12168224298 (patch)
treefddd64e0a73e6c03ebc7bc07b25a02cbbf70996f /linux-headers/linux
parentMerge remote-tracking branch 'remotes/kraxel/tags/pull-ui-20160309-1' into st... (diff)
downloadqemu-5a68be94ac12472eb49fa267de9fb12168224298.tar.gz
qemu-5a68be94ac12472eb49fa267de9fb12168224298.tar.xz
qemu-5a68be94ac12472eb49fa267de9fb12168224298.zip
trace: include CPU index in trace_memory_region_*()
Knowing which CPU performed an action is essential for understanding SMP guest behavior. However, cpu_physical_memory_rw() may be executed by a machine init function, before any VCPUs are running, when there is no CPU running ('current_cpu' is NULL). In this case, store -1 in the trace record as the CPU index. Trace analysis tools may need to be aware of this special case. Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com> Message-id: 1456949575-1633-1-git-send-email-hollis_blanchard@mentor.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions