linux/drivers/pci/pcie
Thomas Tai 2af8641b2a PCI/AER: Add TLP header information to tracepoint
When a PCIe AER error occurs, the TLP header information is printed in the
kernel message but it is missing from the tracepoint.  A userspace program
can use this information in the tracepoint to better analyze problems.

To enable the tracepoint:

  echo 1 > /sys/kernel/debug/tracing/events/ras/aer_event/enable

Example tracepoint output:

  $ cat /sys/kernel/debug/tracing/trace
  aer_event: 0000:01:00.0
  PCIe Bus Error: severity=Uncorrected, non-fatal, Completer Abort
  TLP Header={0x0,0x1,0x2,0x3}

Signed-off-by: Thomas Tai <thomas.tai@oracle.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2018-05-10 08:34:52 -05:00
..
aer PCI/AER: Add TLP header information to tracepoint 2018-05-10 08:34:52 -05:00
Kconfig Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00
Makefile Merge branch 'pci/portdrv' 2018-04-04 13:27:58 -05:00
aspm.c Merge branch 'pci/misc' 2018-04-04 13:27:45 -05:00
dpc.c PCI/DPC: Rename from pcie-dpc.c to dpc.c 2018-03-31 17:48:57 -05:00
pme.c PCI/portdrv: Merge pcieport_if.h into portdrv.h 2018-03-09 11:42:01 -06:00
portdrv.h Merge branch 'pci/portdrv' 2018-04-04 13:27:58 -05:00
portdrv_acpi.c PCI/DPC: Do not enable DPC if AER control is not allowed by the BIOS 2018-03-30 17:33:34 -05:00
portdrv_core.c Merge branch 'pci/portdrv' 2018-04-04 13:27:58 -05:00
portdrv_pci.c Merge branch 'pci/portdrv' 2018-04-04 13:27:58 -05:00
ptm.c Merge branch 'pci/spdx' into next 2018-02-01 11:40:07 -06:00