Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:olh:xen-unstable
xen
xen.trc-ioreq_send.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xen.trc-ioreq_send.patch of Package xen
From: Olaf Hering <olaf@aepfle.de> Date: Thu, 15 Jun 2023 08:43:39 +0000 Subject: trc ioreq_send Signed-off-by: Olaf Hering <olaf@aepfle.de> --- xen/common/ioreq.c | 15 +++++++++ 1 file changed, 15 insertions(+) --- a/xen/common/ioreq.c +++ b/xen/common/ioreq.c @@ -1492,24 +1492,39 @@ static int ioreq_send_buffered(struct ioreq_server *s, ioreq_t *p) spin_unlock(&s->bufioreq_lock); return IOREQ_STATUS_HANDLED; } int ioreq_send(struct ioreq_server *s, ioreq_t *proto_p, bool buffered) { struct vcpu *curr = current; struct domain *d = curr->domain; struct ioreq_vcpu *sv; struct vcpu_io *vio = &curr->io; + trc_ioreq_send_t trc = { + .s = TRC_ePTR(s), + .d = d->domain_id, + .addr = proto_p->addr, + .count = proto_p->count, + .data = proto_p->data, + .data_is_ptr = proto_p->data_is_ptr, + .df = proto_p->df, + .dir = proto_p->dir, + .size = proto_p->size, + .state = proto_p->state, + .type = proto_p->type, + .vp_eport = proto_p->vp_eport, + }; + TRACE_trc(TRC_IOREQ_ioreq_send); ASSERT(s); if ( buffered ) return ioreq_send_buffered(s, proto_p); if ( unlikely(!vcpu_start_shutdown_deferral(curr)) ) { vio->suspended = true; return IOREQ_STATUS_RETRY; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor