public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] vfio-ccw: A couple trace changes
@ 2019-10-16 14:20 Eric Farman
  2019-10-16 14:20 ` [PATCH v3 1/4] vfio-ccw: Refactor how the traces are built Eric Farman
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Eric Farman @ 2019-10-16 14:20 UTC (permalink / raw)
  To: Cornelia Huck, Halil Pasic
  Cc: Steffen Maier, Jason Herne, Jared Rossi, linux-s390, kvm,
	Eric Farman

Here a couple updates to the vfio-ccw traces in the kernel,
based on things I've been using locally.  Perhaps they'll
be useful for future debugging.

v2 -> v3:
 - Added Conny's r-b to patches 1, 2, 4
 - s/command=%d/command=0x%x/ in patch 3 [Cornelia Huck]

v1/RFC -> v2:
 - Convert state/event=%x to %d [Steffen Maier]
 - Use individual fields for cssid/ssid/sch_no, to enable
   filtering by device [Steffen Maier]
 - Add 0x prefix to remaining %x substitution in existing trace

Eric Farman (4):
  vfio-ccw: Refactor how the traces are built
  vfio-ccw: Trace the FSM jumptable
  vfio-ccw: Add a trace for asynchronous requests
  vfio-ccw: Rework the io_fctl trace

 drivers/s390/cio/Makefile           |  4 +-
 drivers/s390/cio/vfio_ccw_cp.h      |  1 +
 drivers/s390/cio/vfio_ccw_fsm.c     | 11 +++--
 drivers/s390/cio/vfio_ccw_private.h |  1 +
 drivers/s390/cio/vfio_ccw_trace.c   | 14 ++++++
 drivers/s390/cio/vfio_ccw_trace.h   | 76 ++++++++++++++++++++++++++---
 6 files changed, 93 insertions(+), 14 deletions(-)
 create mode 100644 drivers/s390/cio/vfio_ccw_trace.c

-- 
2.17.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-10-17 10:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-16 14:20 [PATCH v3 0/4] vfio-ccw: A couple trace changes Eric Farman
2019-10-16 14:20 ` [PATCH v3 1/4] vfio-ccw: Refactor how the traces are built Eric Farman
2019-10-16 14:20 ` [PATCH v3 2/4] vfio-ccw: Trace the FSM jumptable Eric Farman
2019-10-16 14:20 ` [PATCH v3 3/4] vfio-ccw: Add a trace for asynchronous requests Eric Farman
2019-10-17  9:35   ` Cornelia Huck
2019-10-16 14:20 ` [PATCH v3 4/4] vfio-ccw: Rework the io_fctl trace Eric Farman
2019-10-16 14:30 ` [PATCH v3 0/4] vfio-ccw: A couple trace changes Halil Pasic
2019-10-17 10:19 ` Cornelia Huck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox