cxl: Add tracepoints
authorIan Munsie <imunsie@au1.ibm.com>
Fri, 9 Jan 2015 09:34:36 +0000 (20:34 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 22 Jan 2015 06:31:51 +0000 (17:31 +1100)
commit9bcf28cdb28e6a793c4e59f0a42c66fe241993a8
treea9a9f854584e3f03b58ea714e73d2b71089b4008
parentd3383aaae9800b9e13e25b71f70dff3814d10373
cxl: Add tracepoints

This patch adds tracepoints throughout the cxl driver, which can provide
insight into:

- Context lifetimes
- Commands sent to the PSL and AFU and their completion status
- Segment and page table misses and their resolution
- PSL and AFU interrupts
- slbia calls from the powerpc copro_fault code

These tracepoints are mostly intended to aid in debugging (particularly
for new AFU designs), and may be useful standalone or in conjunction
with hardware traces collected by the PSL (read out via the trace
interface in debugfs) and AFUs.

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/Makefile
drivers/misc/cxl/fault.c
drivers/misc/cxl/file.c
drivers/misc/cxl/irq.c
drivers/misc/cxl/main.c
drivers/misc/cxl/native.c
drivers/misc/cxl/trace.c [new file with mode: 0644]
drivers/misc/cxl/trace.h [new file with mode: 0644]