Tool for observing and decoding kernel driver <-> device traffic?
Say I have: A Linux kernel driver That communicates with some pci device Via a custom protocol using a set of custom requests and responses. I'd like to be able to observe the traffic taking place in a similar way to how you can view IP packages with Wireshark. Recompiling the driver so said requests and responses are published to this hypothetical tool is an option I contemplate. Are there standard ways for doing this? Any free ones? Are there tools in the market for doing this? Thanks!

Say I have:
- A Linux kernel driver
- That communicates with some pci device
- Via a custom protocol using a set of custom requests and responses.
I'd like to be able to observe the traffic taking place in a similar way to how you can view IP packages with Wireshark.
Recompiling the driver so said requests and responses are published to this hypothetical tool is an option I contemplate.
Are there standard ways for doing this? Any free ones? Are there tools in the market for doing this? Thanks!