linux/drivers/pci/pcie/aer
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_inject.c PCI/AER: Use cached AER Capability offset 2018-03-30 17:26:59 -05:00
aerdrv_acpi.c PCI: Tidy comments 2018-03-19 14:20:43 -05:00
aerdrv_core.c PCI: Tidy comments 2018-03-19 14:20:43 -05:00
aerdrv_errprint.c PCI/AER: Add TLP header information to tracepoint 2018-05-10 08:34:52 -05:00
aerdrv.c Merge branch 'pci/portdrv' 2018-04-04 13:27:58 -05:00
aerdrv.h Merge branch 'pci/portdrv' 2018-04-04 13:27:58 -05:00
ecrc.c Merge branch 'pci/portdrv' 2018-04-04 13:27:58 -05:00
Kconfig PCI: Add SPDX GPL-2.0 when no license was specified 2018-01-26 11:45:16 -06:00
Kconfig.debug PCI: Add SPDX GPL-2.0 when no license was specified 2018-01-26 11:45:16 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00