]> www.infradead.org Git - users/mchehab/rasdaemon.git/commit
rasdaemon: Add support for extlog trace events
authorLuck, Tony <tony.luck@intel.com>
Mon, 4 Aug 2014 20:29:01 +0000 (13:29 -0700)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 10 Aug 2014 13:57:31 +0000 (10:57 -0300)
commit38d48ed48f9d0baa20786d98abe2b4085fca7d5d
treeb3402ff973f5ca4035c47c7debbbd3d889af82e0
parenta5a96d2035257ba31f6bfcc8dcd7c3af5edd5ece
rasdaemon: Add support for extlog trace events

Linux kernel 3.17 includes a new trace event to pick up extended
error logs produced by BIOS in the Common Platform Error Record
format described in appendix N of the UEFI standard. This patch
adds support to collect that information and log it both in
readable ASCII and into the sqlite3 database that rasdaemon
uses to store all error information.  In addition ras-mc-ctl
is updated to query that database for both detailed and summary
reports.

Big thanks to Aristeu for pretty much all the sqlite3 pieces,
plus testing and fixing miscellaneous issues elsewhere.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
12 files changed:
Makefile.am
configure.ac
ras-aer-handler.c
ras-events.c
ras-extlog-handler.c [new file with mode: 0644]
ras-extlog-handler.h [new file with mode: 0644]
ras-mc-handler.c
ras-mce-handler.c
ras-record.c
ras-record.h
rasdaemon.c
util/ras-mc-ctl.in