aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/vfio_ccw_fsm.c
diff options
context:
space:
mode:
authorEric Farman <farman@linux.ibm.com>2019-10-16 16:20:40 +0200
committerCornelia Huck <cohuck@redhat.com>2019-10-17 11:37:24 +0200
commit8529888070f15e7c784b1c93bad358bf1d08045f (patch)
tree41db1ed4e7c0752d209e0eef9863674392a17840 /drivers/s390/cio/vfio_ccw_fsm.c
parentvfio-ccw: Add a trace for asynchronous requests (diff)
downloadlinux-dev-8529888070f15e7c784b1c93bad358bf1d08045f.tar.xz
linux-dev-8529888070f15e7c784b1c93bad358bf1d08045f.zip
vfio-ccw: Rework the io_fctl trace
Using __field_struct for the schib is convenient, but it doesn't appear to let us filter based on any of the schib elements. Specifying the full schid or any element within it results in various errors by the parser. So, expand that out to its component elements, so we can limit the trace to a single device. While we are at it, rename this trace to the function name, so we remember what is being traced instead of an abstract reference to the function control bit of the SCSW. Signed-off-by: Eric Farman <farman@linux.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Message-Id: <20191016142040.14132-5-farman@linux.ibm.com> Acked-by: Halil Pasic <pasic@linux.ibm.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'drivers/s390/cio/vfio_ccw_fsm.c')
-rw-r--r--drivers/s390/cio/vfio_ccw_fsm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/cio/vfio_ccw_fsm.c b/drivers/s390/cio/vfio_ccw_fsm.c
index 23648a9aa721..23e61aa638e4 100644
--- a/drivers/s390/cio/vfio_ccw_fsm.c
+++ b/drivers/s390/cio/vfio_ccw_fsm.c
@@ -318,8 +318,8 @@ static void fsm_io_request(struct vfio_ccw_private *private,
}
err_out:
- trace_vfio_ccw_io_fctl(scsw->cmd.fctl, schid,
- io_region->ret_code, errstr);
+ trace_vfio_ccw_fsm_io_request(scsw->cmd.fctl, schid,
+ io_region->ret_code, errstr);
}
/*