summaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/vfio_ccw_cp.h
diff options
context:
space:
mode:
authorEric Farman <farman@linux.ibm.com>2019-10-16 16:20:37 +0200
committerCornelia Huck <cohuck@redhat.com>2019-10-17 11:35:56 +0200
commit7af52cca6f1c4d785b652682a8f7687df1061318 (patch)
tree0c93ecf860bd1c0174811e4ed316b3eeff4c21d0 /drivers/s390/cio/vfio_ccw_cp.h
parents390/Kconfig: add z13s and z14 ZR1 to TUNE descriptions (diff)
downloadlinux-7af52cca6f1c4d785b652682a8f7687df1061318.tar.xz
linux-7af52cca6f1c4d785b652682a8f7687df1061318.zip
vfio-ccw: Refactor how the traces are built
Commit 3cd90214b70f ("vfio: ccw: add tracepoints for interesting error paths") added a quick trace point to determine where a channel program failed while being processed. It's a great addition, but adding more traces to vfio-ccw is more cumbersome than it needs to be. Let's refactor how this is done, so that additional traces are easier to add and can exist outside of the FSM if we ever desire. Signed-off-by: Eric Farman <farman@linux.ibm.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Message-Id: <20191016142040.14132-2-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_cp.h')
-rw-r--r--drivers/s390/cio/vfio_ccw_cp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/cio/vfio_ccw_cp.h b/drivers/s390/cio/vfio_ccw_cp.h
index 7cdc38049033..ba31240ce965 100644
--- a/drivers/s390/cio/vfio_ccw_cp.h
+++ b/drivers/s390/cio/vfio_ccw_cp.h
@@ -15,6 +15,7 @@
#include <asm/scsw.h>
#include "orb.h"
+#include "vfio_ccw_trace.h"
/*
* Max length for ccw chain.