Re: [ndctl PATCH v11 5/7] cxl/list: collect and parse media_error records

2024-03-20 Thread Alison Schofield
On Fri, Mar 15, 2024 at 09:16:27AM -0700, Dave Jiang wrote: > > > On 3/13/24 9:05 PM, alison.schofi...@intel.com wrote: > > From: Alison Schofield > > > > Media_error records are logged as events in the kernel tracing > > subsystem. To prepare the media_error records for cxl list, enable > > tr

Re: [ndctl PATCH v11 5/7] cxl/list: collect and parse media_error records

2024-03-15 Thread Dave Jiang
On 3/13/24 9:05 PM, alison.schofi...@intel.com wrote: > From: Alison Schofield > > Media_error records are logged as events in the kernel tracing > subsystem. To prepare the media_error records for cxl list, enable > tracing, trigger the poison list read, and parse the generated > cxl_poison e

[ndctl PATCH v11 5/7] cxl/list: collect and parse media_error records

2024-03-13 Thread alison . schofield
From: Alison Schofield Media_error records are logged as events in the kernel tracing subsystem. To prepare the media_error records for cxl list, enable tracing, trigger the poison list read, and parse the generated cxl_poison events into a json representation. Use the event_trace private parsin