mbox series

[RFC,0/7] rasdaemon: Process the generic CXL trace events

Message ID 20230412083312.1384-1-shiju.jose@huawei.com
Headers show
Series rasdaemon: Process the generic CXL trace events | expand

Message

Shiju Jose April 12, 2023, 8:33 a.m. UTC
From: Shiju Jose <shiju.jose@huawei.com>

Log and record the following generic CXL error records reported through
the kernel trace events.
- cxl_overflow
- cxl_generic_event
- cxl_general_media
- cxl_dram
- cxl_memory_module

Shiju Jose (7):
  rasdaemon: Add common function to convert timestamp in the CXL event
    records to the broken-down time format
  rasdaemon: Add common function to get timestamp for the event
  rasdaemon: Add support for the CXL overflow events
  rasdaemon: Add support for the CXL generic events
  rasdaemon: Add support for the CXL general media events
  rasdaemon: Add support for the CXL dram events
  rasdaemon: Add support for the CXL memory module events

 ras-cxl-handler.c | 826 +++++++++++++++++++++++++++++++++++++++++++---
 ras-cxl-handler.h |  15 +
 ras-events.c      |  45 +++
 ras-events.h      |   5 +
 ras-record.c      | 420 +++++++++++++++++++++++
 ras-record.h      |  99 ++++++
 ras-report.c      | 476 ++++++++++++++++++++++++++
 ras-report.h      |  10 +
 8 files changed, 1853 insertions(+), 43 deletions(-)