OSDN Git Service

vfio-ccw: Trace the FSM jumptable
authorEric Farman <farman@linux.ibm.com>
Wed, 16 Oct 2019 14:20:38 +0000 (16:20 +0200)
committerCornelia Huck <cohuck@redhat.com>
Thu, 17 Oct 2019 09:36:29 +0000 (11:36 +0200)
commit970ebeb84880906b396e53539b95fdbbf3e786a2
tree6e87139dca24afefff99ed75563c0c0cc382c4c8
parent7af52cca6f1c4d785b652682a8f7687df1061318
vfio-ccw: Trace the FSM jumptable

It would be nice if we could track the sequence of events within
vfio-ccw, based on the state of the device/FSM and our calling
sequence within it.  So let's add a simple trace here so we can
watch the states change as things go, and allow it to be folded
into the rest of the other cio traces.

Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-Id: <20191016142040.14132-3-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_private.h
drivers/s390/cio/vfio_ccw_trace.c
drivers/s390/cio/vfio_ccw_trace.h