aboutsummaryrefslogtreecommitdiff
path: root/target/s390x/kvm.c
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2019-02-12 15:50:00 +0100
committerCornelia Huck <cohuck@redhat.com>2019-02-18 11:25:43 +0100
commit747c432f1e63dab75e5ea6184d8e844a6d7e67f8 (patch)
treeb5fd79621d71b374fd93066d07e29121205d20d9 /target/s390x/kvm.c
parentf2a7d1577115bda770d619ff5bc45db1f656edc3 (diff)
s390x/kvm: add tracepoint to ioeventfd interface
Trace when assigning/unassigning. Message-Id: <20190212153025.25425-1-cohuck@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/kvm.c')
-rw-r--r--target/s390x/kvm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/s390x/kvm.c b/target/s390x/kvm.c
index 15fdc168e1..19530fb94e 100644
--- a/target/s390x/kvm.c
+++ b/target/s390x/kvm.c
@@ -1886,6 +1886,8 @@ int kvm_s390_assign_subch_ioeventfd(EventNotifier *notifier, uint32_t sch,
.addr = sch,
.len = 8,
};
+ trace_kvm_assign_subch_ioeventfd(kick.fd, kick.addr, assign,
+ kick.datamatch);
if (!kvm_check_extension(kvm_state, KVM_CAP_IOEVENTFD)) {
return -ENOSYS;
}