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

2024-03-06 Thread Alison Schofield
On Mon, Mar 04, 2024 at 01:03:55PM -0700, Dave Jiang wrote: > > > On 2/29/24 6:31 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 v9 5/7] cxl/list: collect and parse media_error records

2024-03-04 Thread Dave Jiang
On 2/29/24 6:31 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 v9 5/7] cxl/list: collect and parse media_error records

2024-02-29 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