vfio-ccw: Rework the io_fctl trace
authorEric Farman <farman@linux.ibm.com>
Wed, 16 Oct 2019 14:20:40 +0000 (16:20 +0200)
committerCornelia Huck <cohuck@redhat.com>
Thu, 17 Oct 2019 09:37:24 +0000 (11:37 +0200)
commit8529888070f15e7c784b1c93bad358bf1d08045f
tree41db1ed4e7c0752d209e0eef9863674392a17840
parentd5950b02b79eed046dd52ec40f3485221e95146b
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>
drivers/s390/cio/vfio_ccw_fsm.c
drivers/s390/cio/vfio_ccw_trace.c
drivers/s390/cio/vfio_ccw_trace.h