summaryrefslogtreecommitdiffstats
path: root/test/aes-detect_host.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/aes-detect_host.c')
-rw-r--r--test/aes-detect_host.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/aes-detect_host.c b/test/aes-detect_host.c
index 43b762f..ccb01fe 100644
--- a/test/aes-detect_host.c
+++ b/test/aes-detect_host.c
@@ -439,14 +439,14 @@ runonce(struct kvm *kvm)
int
monitor(void)
{
- struct cpc_track_event event;
+ struct cpc_event event;
int ret;
/* Get page fault info */
ret = ioctl(kvm_dev, KVM_CPC_POLL_EVENT, &event);
if (!ret) {
printf("Got page fault! %llu retired insts\n",
- event.retinst);
+ event.track.retinst);
faultcnt++;
printf("Acking event %llu\n", event.id);