diff options
author | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-09-30 09:53:52 +0200 |
---|---|---|
committer | Andreas Sandberg <andreas@sandberg.pp.se> | 2013-09-30 09:53:52 +0200 |
commit | 469f2e31cfb5b50c52888684e47289921d42292a (patch) | |
tree | 037e9b87497e57c071b097c4178dceb2810759d3 /src/arch/x86/pagetable_walker.hh | |
parent | f62119c77a28951a8d5be3ac55dfa9a62d790f94 (diff) | |
download | gem5-469f2e31cfb5b50c52888684e47289921d42292a.tar.xz |
kvm: Add support for thread-specific instruction events
Instruction events are currently ignored when executing in KVM. This
changeset adds support for triggering KVM exits based on instruction
counts using hardware performance counters. Depending on the
underlying performance counter implementation, there might be some
inaccuracies due to instructions being counted in the host kernel when
entering/exiting KVM.
Due to limitations/bugs in Linux's performance counter interface, we
can't reliably change the period of an overflow counter. We work
around this issue by detaching and reattaching the counter if we need
to reconfigure it.
Diffstat (limited to 'src/arch/x86/pagetable_walker.hh')
0 files changed, 0 insertions, 0 deletions