From: Cornelia Huck <cohuck@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-s390x@nongnu.org, qemu-devel@nongnu.org,
Cornelia Huck <cohuck@redhat.com>
Subject: [Qemu-devel] [PULL 09/10] s390x/kvm: add tracepoint to ioeventfd interface
Date: Mon, 18 Feb 2019 12:11:52 +0100 [thread overview]
Message-ID: <20190218111153.22681-10-cohuck@redhat.com> (raw)
In-Reply-To: <20190218111153.22681-1-cohuck@redhat.com>
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>
---
target/s390x/kvm.c | 2 ++
target/s390x/trace-events | 1 +
2 files changed, 3 insertions(+)
diff --git a/target/s390x/kvm.c b/target/s390x/kvm.c
index 15fdc168e1c5..19530fb94e5a 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;
}
diff --git a/target/s390x/trace-events b/target/s390x/trace-events
index a84e316e4937..e509b08799c6 100644
--- a/target/s390x/trace-events
+++ b/target/s390x/trace-events
@@ -14,6 +14,7 @@ ioinst_chsc_cmd(uint16_t cmd, uint16_t len) "IOINST: chsc command 0x%04x, len 0x
kvm_enable_cmma(int rc) "CMMA: enabling with result code %d"
kvm_clear_cmma(int rc) "CMMA: clearing with result code %d"
kvm_failed_cpu_state_set(int cpu_index, uint8_t state, const char *msg) "Warning: Unable to set cpu %d state %" PRIu8 " to KVM: %s"
+kvm_assign_subch_ioeventfd(int fd, uint32_t addr, bool assign, int datamatch) "fd: %d sch: @0x%x assign: %d vq: %d"
# target/s390x/cpu.c
cpu_set_state(int cpu_index, uint8_t state) "setting cpu %d state to %" PRIu8
--
2.17.2
next prev parent reply other threads:[~2019-02-18 11:12 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-18 11:11 [Qemu-devel] [PULL 00/10] s390x update Cornelia Huck
2019-02-18 11:11 ` [Qemu-devel] [PULL 01/10] s390x: Fix the confusing contributions-after-2012 license statements Cornelia Huck
2019-02-18 11:11 ` [Qemu-devel] [PULL 02/10] s390x: always provide pci support Cornelia Huck
2019-02-18 11:11 ` [Qemu-devel] [PULL 03/10] target/s390x: Split out s390-tod.h Cornelia Huck
2019-02-18 11:11 ` [Qemu-devel] [PULL 04/10] target/s390x: Implement STCK et al for CONFIG_USER_ONLY Cornelia Huck
2019-02-18 11:11 ` [Qemu-devel] [PULL 05/10] s390x: add zPCI feature to "qemu" CPU model Cornelia Huck
2019-02-18 11:11 ` [Qemu-devel] [PULL 06/10] s390x/cpumodel: mepochptff: warn when no mepoch and re-align group init Cornelia Huck
2019-02-18 11:11 ` [Qemu-devel] [PULL 07/10] s390x/cpumodel: default enable mepoch for z14 and later Cornelia Huck
2019-02-18 11:11 ` [Qemu-devel] [PULL 08/10] s390x/cpumodel: add z14 GA2 model Cornelia Huck
2019-02-18 11:11 ` Cornelia Huck [this message]
2019-02-18 11:11 ` [Qemu-devel] [PULL 10/10] s390x: upgrade status of KVM cores to "supported" Cornelia Huck
2019-02-18 11:44 ` [Qemu-devel] [PULL 00/10] s390x update no-reply
2019-02-18 11:48 ` no-reply
2019-02-18 12:19 ` no-reply
2019-02-18 12:22 ` no-reply
2019-02-18 12:55 ` no-reply
2019-02-18 12:59 ` no-reply
2019-02-18 13:31 ` no-reply
2019-02-18 14:07 ` no-reply
2019-02-18 14:09 ` Peter Maydell
2019-02-18 14:11 ` no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190218111153.22681-10-cohuck@redhat.com \
--to=cohuck@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-s390x@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).