summaryrefslogtreecommitdiffstats
path: root/test/qemu-eviction.c
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2023-01-27 16:33:27 +0100
committerLouis Burda <quent.burda@gmail.com>2023-01-27 16:34:43 +0100
commitbb2c0277010fa5fc3010dca79685d527bd87d9fb (patch)
treedd719f969a6d9f1377fa85dc7325b53d9622a863 /test/qemu-eviction.c
parent1f418a1c4480cef90b8596ae17bdca9cc7ca1b88 (diff)
downloadcachepc-bb2c0277010fa5fc3010dca79685d527bd87d9fb.tar.gz
cachepc-bb2c0277010fa5fc3010dca79685d527bd87d9fb.zip
Add CPC_TRACK_STEPS and make apic reset more robust
Diffstat (limited to 'test/qemu-eviction.c')
-rw-r--r--test/qemu-eviction.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/qemu-eviction.c b/test/qemu-eviction.c
index 016ee9e..43456dc 100644
--- a/test/qemu-eviction.c
+++ b/test/qemu-eviction.c
@@ -38,10 +38,9 @@ monitor(bool baseline)
if (ret) err(1, "KVM_CPC_READ_COUNTS");
printf("Event: rip:%016llx cnt:%llu "
- "inst:%08llx data:%08llx ret:%llu\n",
+ "inst:%08llx ret:%llu\n",
vm_get_rip(), event.step.fault_count,
- event.step.fault_gfns[0], event.step.fault_gfns[1],
- event.step.retinst);
+ event.step.inst_gfn, event.step.retinst);
print_counts(counts);
printf("\n");
print_counts_raw(counts);