pcie_errors: plugin to read PCIe errors
authorKamil Wiatrowski <kamilx.wiatrowski@intel.com>
Tue, 20 Feb 2018 12:28:28 +0000 (12:28 +0000)
committerKamil Wiatrowski <kamilx.wiatrowski@intel.com>
Fri, 8 Jun 2018 23:42:04 +0000 (00:42 +0100)
commit814678593c7f581a1428cf566333609384848827
tree6727e876feed756b48e22eeb351727f3efad861d
parent0706e1c4c496962b92b7bd2149bb651ef05b0acf
pcie_errors: plugin to read PCIe errors

The pcie plugin collects PCI Express errors from Device Status in Capability
structure and from Advanced Error Reporting Extended Capability where available.
At every read it polls config space of PCI Express devices and dispatches
notification for every error that is found. Notif OK is sent after error is cleared.

Change-Id: I559f4035df76ab2934969a3c46cd4e98b93aba9a
Signed-off-by: Kamil Wiatrowski <kamilx.wiatrowski@intel.com>
Makefile.am
README
configure.ac
src/collectd.conf.in
src/collectd.conf.pod
src/pcie_errors.c [new file with mode: 0644]
src/pcie_errors_test.c [new file with mode: 0644]
src/types.db