cxl/events: Update Common Event Record to CXL spec rev 3.2
PATCH 1/1 cxl/events: Update Common Event Record to CXL spec rev 3.2
From: Shiju Jose <[email protected]>
CXL spec 3.2 section 8.2.10.2.1 Table 8-55, Common Event Record format has updated with LD-ID and ID of the device head fields.
Add updates for the above spec changes in the CXL events record and CXL common trace event implementation.
--- drivers/cxl/core/trace.h | 22 ++++++++++++++++------ include/cxl/event.h | 4 +++- 2 files changed, 19 insertions(+), 7 deletions(-)
drivers/cxl/core/trace.h +16 -6
@@ -214,12 +214,16 @@ TRACE_EVENT(cxl_overflow,#define CXL_EVENT_RECORD_FLAG_PERF_DEGRADED BIT(4)#define CXL_EVENT_RECORD_FLAG_HW_REPLACE BIT(5)#define CXL_EVENT_RECORD_FLAG_MAINT_OP_SUB_CLASS_VALID BIT(6) +#define CXL_EVENT_RECORD_FLAG_LD_ID_VALID BIT(7) +#define CXL_EVENT_RECORD_FLAG_HEAD_ID_VALID BIT(8)#define show_hdr_flags (flags) __print_flags(flags, " | ", \ { CXL_EVENT_RECORD_FLAG_PERMANENT, "PERMANENT_CONDITION" }, \ { CXL_EVENT_RECORD_FLAG_MAINT_NEEDED, "MAINTENANCE_NEEDED" }, \ { CXL_EVENT_RECORD_FLAG_PERF_DEGRADED, "PERFORMANCE_DEGRADED" }, \ - { CXL_EVENT_RECORD_FLAG_HW_REPLACE, "HARDWARE_REPLACEMENT_NEEDED" }, \ - { CXL_EVENT_RECORD_FLAG_MAINT_OP_SUB_CLASS_VALID, "MAINT_OP_SUB_CLASS_VALID" } \ + { CXL_EVENT_RECORD_FLAG_HW_REPLACE, "HARDWARE_REPLACEMENT_NEEDED" }, \ + { CXL_EVENT_RECORD_FLAG_MAINT_OP_SUB_CLASS_VALID, "MAINT_OP_SUB_CLASS_VALID" }, \ + { CXL_EVENT_RECORD_FLAG_LD_ID_VALID, "LD_ID_VALID" }, \ + { CXL_EVENT_RECORD_FLAG_HEAD_ID_VALID, "HEAD_ID_VALID" } \ )/*
@@ -247,7 +251,9 @@ TRACE_EVENT(cxl_overflow, __field(u64, hdr_timestamp) \ __field(u8, hdr_length) \ __field(u8, hdr_maint_op_class) \ - __field(u8, hdr_maint_op_sub_class) + __field(u8, hdr_maint_op_sub_class) \ + __field(u16, hdr_ld_id) \ + __field(u8, hdr_head_id)#define CXL_EVT_TP_fast_assign (cxlmd, l, hdr) \ __assign_str(memdev); \
@@ -260,18 +266,22 @@ TRACE_EVENT(cxl_overflow, __entry->hdr_related_handle =le16_to_cpu ((hdr).related_handle); \ __entry->hdr_timestamp =le64_to_cpu ((hdr).timestamp); \ __entry->hdr_maint_op_class = (hdr).maint_op_class; \ - __entry->hdr_maint_op_sub_class = (hdr).maint_op_sub_class + __entry->hdr_maint_op_sub_class = (hdr).maint_op_sub_class; \ + __entry->hdr_ld_id =le16_to_cpu ((hdr).ld_id); \ + __entry->hdr_head_id = (hdr).head_id#define CXL_EVT_TP_printk (fmt, ...) \ TP_printk("memdev=%s host=%s serial=%lld log=%s : time=%llu uuid=%pUb " \ "len=%d flags='%s' handle=%x related_handle=%x " \ - "maint_op_class=%u maint_op_sub_class=%u : " fmt, \ + "maint_op_class=%u maint_op_sub_class=%u ld_id=%x " \ + "head_id=%x : " fmt, \ __get_str(memdev), __get_str(host), __entry->serial, \ cxl_event_log_type_str(__entry->log), \ __entry->hdr_timestamp, &__entry->hdr_uuid, __entry->hdr_length,\ show_hdr_flags(__entry->hdr_flags), __entry->hdr_handle, \ __entry->hdr_related_handle, __entry->hdr_maint_op_class, \ - __entry->hdr_maint_op_sub_class, \ + __entry->hdr_maint_op_sub_class, __entry->hdr_ld_id, \ + __entry->hdr_head_id, \ ##__VA_ARGS__) TRACE_EVENT(cxl_generic_event,
include/cxl/event.h +3 -1
@@ -19,7 +19,9 @@ struct cxl_event_record_hdr {__le64 timestamp;u8 maint_op_class;u8 maint_op_sub_class; -u8 reserved[14 ]; +__le16 ld_id; +u8 head_id; +u8 reserved[11 ]; } __packed;struct cxl_event_media_hdr {
Signature · 1 line
2.43.0
Quoted 9 lines · On 5/14/25 8:19 AM, [email protected] wrote:
From: Shiju Jose <[email protected]>
CXL spec 3.2 section 8.2.10.2.1 Table 8-55, Common Event Record format has updated with LD-ID and ID of the device head fields.
Add updates for the above spec changes in the CXL events record and CXL common trace event implementation.
Signed-off-by Shiju Jose <[email protected]>
Quoted 80 lines
--- drivers/cxl/core/trace.h | 22 ++++++++++++++++------ include/cxl/event.h | 4 +++- 2 files changed, 19 insertions(+), 7 deletions(-)drivers/cxl/core/trace.h +16
-6@@ -214,12 +214,16 @@ TRACE_EVENT(cxl_overflow,#define CXL_EVENT_RECORD_FLAG_PERF_DEGRADED BIT(4)#define CXL_EVENT_RECORD_FLAG_HW_REPLACE BIT(5)#define CXL_EVENT_RECORD_FLAG_MAINT_OP_SUB_CLASS_VALID BIT(6) +#define CXL_EVENT_RECORD_FLAG_LD_ID_VALID BIT(7) +#define CXL_EVENT_RECORD_FLAG_HEAD_ID_VALID BIT(8)#define show_hdr_flags (flags) __print_flags(flags, " | ", \ { CXL_EVENT_RECORD_FLAG_PERMANENT, "PERMANENT_CONDITION" }, \ { CXL_EVENT_RECORD_FLAG_MAINT_NEEDED, "MAINTENANCE_NEEDED" }, \ { CXL_EVENT_RECORD_FLAG_PERF_DEGRADED, "PERFORMANCE_DEGRADED" }, \ - { CXL_EVENT_RECORD_FLAG_HW_REPLACE, "HARDWARE_REPLACEMENT_NEEDED" }, \ - { CXL_EVENT_RECORD_FLAG_MAINT_OP_SUB_CLASS_VALID, "MAINT_OP_SUB_CLASS_VALID" } \ + { CXL_EVENT_RECORD_FLAG_HW_REPLACE, "HARDWARE_REPLACEMENT_NEEDED" }, \ + { CXL_EVENT_RECORD_FLAG_MAINT_OP_SUB_CLASS_VALID, "MAINT_OP_SUB_CLASS_VALID" }, \ + { CXL_EVENT_RECORD_FLAG_LD_ID_VALID, "LD_ID_VALID" }, \ + { CXL_EVENT_RECORD_FLAG_HEAD_ID_VALID, "HEAD_ID_VALID" } \ )/* @@ -247,7 +251,9 @@ TRACE_EVENT(cxl_overflow, __field(u64, hdr_timestamp) \ __field(u8, hdr_length) \ __field(u8, hdr_maint_op_class) \ - __field(u8, hdr_maint_op_sub_class) + __field(u8, hdr_maint_op_sub_class) \ + __field(u16, hdr_ld_id) \ + __field(u8, hdr_head_id)#define CXL_EVT_TP_fast_assign (cxlmd, l, hdr) \ __assign_str(memdev); \@@ -260,18 +266,22 @@ TRACE_EVENT(cxl_overflow, __entry->hdr_related_handle =le16_to_cpu ((hdr).related_handle); \ __entry->hdr_timestamp =le64_to_cpu ((hdr).timestamp); \ __entry->hdr_maint_op_class = (hdr).maint_op_class; \ - __entry->hdr_maint_op_sub_class = (hdr).maint_op_sub_class + __entry->hdr_maint_op_sub_class = (hdr).maint_op_sub_class; \ + __entry->hdr_ld_id =le16_to_cpu ((hdr).ld_id); \ + __entry->hdr_head_id = (hdr).head_id#define CXL_EVT_TP_printk (fmt, ...) \ TP_printk("memdev=%s host=%s serial=%lld log=%s : time=%llu uuid=%pUb " \ "len=%d flags='%s' handle=%x related_handle=%x " \ - "maint_op_class=%u maint_op_sub_class=%u : " fmt, \ + "maint_op_class=%u maint_op_sub_class=%u ld_id=%x " \ + "head_id=%x : " fmt, \ __get_str(memdev), __get_str(host), __entry->serial, \ cxl_event_log_type_str(__entry->log), \ __entry->hdr_timestamp, &__entry->hdr_uuid, __entry->hdr_length,\ show_hdr_flags(__entry->hdr_flags), __entry->hdr_handle, \ __entry->hdr_related_handle, __entry->hdr_maint_op_class, \ - __entry->hdr_maint_op_sub_class, \ + __entry->hdr_maint_op_sub_class, __entry->hdr_ld_id, \ + __entry->hdr_head_id, \ ##__VA_ARGS__) TRACE_EVENT(cxl_generic_event,include/cxl/event.h +3
-1@@ -19,7 +19,9 @@ struct cxl_event_record_hdr {__le64 timestamp;u8 maint_op_class;u8 maint_op_sub_class; -u8 reserved[14 ]; +__le16 ld_id; +u8 head_id; +u8 reserved[11 ]; } __packed;struct cxl_event_media_hdr {
Alison Schofield
maintainerQuoted 4 lines · On Wed, May 14, 2025 at 04:19:13PM +0100, [email protected] wrote:
From: Shiju Jose <[email protected]>
CXL spec 3.2 section 8.2.10.2.1 Table 8-55, Common Event Record format has updated with LD-ID and ID of the device head fields.
This comment is less important now that I've opened the spec and looked them up. In addition to a spec reference, please take a moment in this commit message to describe the new fields and what they offer.
nit below -
Quoted 21 lines
Add updates for the above spec changes in the CXL events record and CXL common trace event implementation.
Signed-off-by Shiju Jose <[email protected]>--- drivers/cxl/core/trace.h | 22 ++++++++++++++++------ include/cxl/event.h | 4 +++- 2 files changed, 19 insertions(+), 7 deletions(-)drivers/cxl/core/trace.h +2
-0@@ -214,12 +214,16 @@ TRACE_EVENT(cxl_overflow,#define CXL_EVENT_RECORD_FLAG_PERF_DEGRADED BIT(4)#define CXL_EVENT_RECORD_FLAG_HW_REPLACE BIT(5)#define CXL_EVENT_RECORD_FLAG_MAINT_OP_SUB_CLASS_VALID BIT(6) +#define CXL_EVENT_RECORD_FLAG_LD_ID_VALID BIT(7) +#define CXL_EVENT_RECORD_FLAG_HEAD_ID_VALID BIT(8)#define show_hdr_flags (flags) __print_flags(flags, " | ", \
drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 227
Quoted 10 lines
drivers/cxl/core/trace.h +4
-2{ CXL_EVENT_RECORD_FLAG_PERMANENT, "PERMANENT_CONDITION" }, \ { CXL_EVENT_RECORD_FLAG_MAINT_NEEDED, "MAINTENANCE_NEEDED" }, \ { CXL_EVENT_RECORD_FLAG_PERF_DEGRADED, "PERFORMANCE_DEGRADED" }, \ - { CXL_EVENT_RECORD_FLAG_HW_REPLACE, "HARDWARE_REPLACEMENT_NEEDED" }, \ - { CXL_EVENT_RECORD_FLAG_MAINT_OP_SUB_CLASS_VALID, "MAINT_OP_SUB_CLASS_VALID" } \ + { CXL_EVENT_RECORD_FLAG_HW_REPLACE, "HARDWARE_REPLACEMENT_NEEDED" }, \ + { CXL_EVENT_RECORD_FLAG_MAINT_OP_SUB_CLASS_VALID, "MAINT_OP_SUB_CLASS_VALID" }, \ + { CXL_EVENT_RECORD_FLAG_LD_ID_VALID, "LD_ID_VALID" }, \ + { CXL_EVENT_RECORD_FLAG_HEAD_ID_VALID, "HEAD_ID_VALID" } \ )
Is there some spurious changes above? I don't see why HW_REPLACE line needed an edit.
Quoted 14 lines
drivers/cxl/core/trace.h +3
-1/* @@ -247,7 +251,9 @@ TRACE_EVENT(cxl_overflow, __field(u64, hdr_timestamp) \ __field(u8, hdr_length) \ __field(u8, hdr_maint_op_class) \ - __field(u8, hdr_maint_op_sub_class) + __field(u8, hdr_maint_op_sub_class) \ + __field(u16, hdr_ld_id) \ + __field(u8, hdr_head_id)#define CXL_EVT_TP_fast_assign (cxlmd, l, hdr) \ __assign_str(memdev); \
drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 271
Quoted 7 lines
drivers/cxl/core/trace.h +3
-1@@ -260,18 +266,22 @@ TRACE_EVENT(cxl_overflow, __entry->hdr_related_handle =le16_to_cpu ((hdr).related_handle); \ __entry->hdr_timestamp =le64_to_cpu ((hdr).timestamp); \ __entry->hdr_maint_op_class = (hdr).maint_op_class; \ - __entry->hdr_maint_op_sub_class = (hdr).maint_op_sub_class + __entry->hdr_maint_op_sub_class = (hdr).maint_op_sub_class; \ + __entry->hdr_ld_id =le16_to_cpu ((hdr).ld_id); \ + __entry->hdr_head_id = (hdr).head_id
clean
drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 277
Quoted 7 lines
drivers/cxl/core/trace.h +2
-1#define CXL_EVT_TP_printk (fmt, ...) \ TP_printk("memdev=%s host=%s serial=%lld log=%s : time=%llu uuid=%pUb " \ "len=%d flags='%s' handle=%x related_handle=%x " \ - "maint_op_class=%u maint_op_sub_class=%u : " fmt, \ + "maint_op_class=%u maint_op_sub_class=%u ld_id=%x " \ + "head_id=%x : " fmt, \
clean
drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 285
Quoted 9 lines
drivers/cxl/core/trace.h +2
-1__get_str (memdev),__get_str (host), __entry->serial, \cxl_event_log_type_str (__entry->log), \ __entry->hdr_timestamp, &__entry->hdr_uuid, __entry->hdr_length,\show_hdr_flags (__entry->hdr_flags), __entry->hdr_handle, \ __entry->hdr_related_handle, __entry->hdr_maint_op_class, \ - __entry->hdr_maint_op_sub_class, \ + __entry->hdr_maint_op_sub_class, __entry->hdr_ld_id, \ + __entry->hdr_head_id, \ ##__VA_ARGS__)
OK (only OK because I may have just started a new line to avoid the (-))
Quoted 7 lines
drivers/cxl/core/trace.h +0
-0TRACE_EVENT(cxl_generic_event,include/cxl/event.h +0
-0
include/cxl/event.h struct cxl_event_record_hdr { · line 25
Quoted 8 lines
include/cxl/event.h +3
-1@@ -19,7 +19,9 @@ struct cxl_event_record_hdr {__le64 timestamp;u8 maint_op_class;u8 maint_op_sub_class; -u8 reserved[14 ]; +__le16 ld_id; +u8 head_id; +u8 reserved[11 ]; } __packed;
clean
Quoted 5 lines
include/cxl/event.h +0
-0struct cxl_event_media_hdr {Signature · 1 line
2.43.0
Quoted 13 lines
-----Original Message-----
From: Alison Schofield <[email protected]>
Sent: 14 May 2025 20:12
To: Shiju Jose <[email protected]>
Cc: [email protected]; [email protected]; [email protected]; Jonathan Cameron <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; Linuxarm <[email protected]>; tanxiaofei <[email protected]>; Zengtao (B) <[email protected]>
Subject: Re: [PATCH 1/1] cxl/events: Update Common Event Record to CXL spec rev 3.2On Wed, May 14, 2025 at 04:19:13PM +0100, [email protected] wrote:
Quoted 8 lines
Quoted 4 lines
From: Shiju Jose <[email protected]>
CXL spec 3.2 section 8.2.10.2.1 Table 8-55, Common Event Record format has updated with LD-ID and ID of the device head fields.
This comment is less important now that I've opened the spec and looked them up. In addition to a spec reference, please take a moment in this commit message to describe the new fields and what they offer.
Hi Alison,
Thanks for the feedback. I will add description for the new fields.
Quoted 39 lines
nit below -
Quoted 15 lines
Add updates for the above spec changes in the CXL events record and CXL common trace event implementation.
Signed-off-by Shiju Jose <[email protected]>--- drivers/cxl/core/trace.h | 22 ++++++++++++++++------ include/cxl/event.h | 4 +++- 2 files changed, 19 insertions(+), 7 deletions(-)drivers/cxl/core/trace.h index renamed from drivers/cxl/core/trace.h +0
-0
25ebfbc1616c..ce482e57a477100644drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 219
Quoted 6 lines
drivers/cxl/core/trace.h +2
-0@@ -214,12 +214,16 @@ TRACE_EVENT(cxl_overflow,#define CXL_EVENT_RECORD_FLAG_PERF_DEGRADED BIT(4)#define CXL_EVENT_RECORD_FLAG_HW_REPLACE BIT(5)#define CXL_EVENT_RECORD_FLAG_MAINT_OP_SUB_CLASS_VALID BIT(6) +#define CXL_EVENT_RECORD_FLAG_LD_ID_VALID BIT(7) +#define CXL_EVENT_RECORD_FLAG_HEAD_ID_VALID BIT(8)#define show_hdr_flags (flags) __print_flags(flags, " | ",\drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 220
Quoted 1 line
drivers/cxl/core/trace.h +0
-0{ CXL_EVENT_RECORD_FLAG_PERMANENT,"PERMANENT_CONDITION" }, \drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 221
Quoted 1 line
drivers/cxl/core/trace.h +0
-0{ CXL_EVENT_RECORD_FLAG_MAINT_NEEDED,"MAINTENANCE_NEEDED" }, \drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 222
Quoted 1 line
drivers/cxl/core/trace.h +0
-0{ CXL_EVENT_RECORD_FLAG_PERF_DEGRADED,"PERFORMANCE_DEGRADED" }, \drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 221
Quoted 1 line
drivers/cxl/core/trace.h +0
-1- { CXL_EVENT_RECORD_FLAG_HW_REPLACE,"HARDWARE_REPLACEMENT_NEEDED" }, \drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 222
Quoted 1 line
drivers/cxl/core/trace.h +0
-1- { CXL_EVENT_RECORD_FLAG_MAINT_OP_SUB_CLASS_VALID,"MAINT_OP_SUB_CLASS_VALID" } \drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 223
Quoted 1 line
drivers/cxl/core/trace.h +1
-0+ { CXL_EVENT_RECORD_FLAG_HW_REPLACE,"HARDWARE_REPLACEMENT_NEEDED" }, \
Quoted 8 lines
drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 224
Quoted 1 line
drivers/cxl/core/trace.h +1
-0+ { CXL_EVENT_RECORD_FLAG_MAINT_OP_SUB_CLASS_VALID,"MAINT_OP_SUB_CLASS_VALID" }, \drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 227
Quoted 3 lines
drivers/cxl/core/trace.h +2
-0+ { CXL_EVENT_RECORD_FLAG_LD_ID_VALID, "LD_ID_VALID" }, \ + { CXL_EVENT_RECORD_FLAG_HEAD_ID_VALID, "HEAD_ID_VALID" } \ )Is there some spurious changes above? I don't see why
HW_REPLACEline needed an edit.
Just removed an extra space that was present in the line with HARDWARE_REPLACEMENT_NEEDED to make it identical to the rest.
Quoted 56 lines
drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 258
Quoted 13 lines
drivers/cxl/core/trace.h +3
-1/* @@ -247,7 +251,9 @@ TRACE_EVENT(cxl_overflow, __field(u64, hdr_timestamp) \ __field(u8, hdr_length) \ __field(u8, hdr_maint_op_class) \ - __field(u8, hdr_maint_op_sub_class) + __field(u8, hdr_maint_op_sub_class) \ + __field(u16, hdr_ld_id) \ + __field(u8, hdr_head_id)#define CXL_EVT_TP_fast_assign (cxlmd, l, hdr)\drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 266
Quoted 3 lines
drivers/cxl/core/trace.h +0
-0__assign_str (memdev); \@@ -260,18 +266,22 @@ TRACE_EVENT(cxl_overflow, __entry->hdr_related_handle =le16_to_cpu ((hdr).related_handle);\drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 267
Quoted 1 line
drivers/cxl/core/trace.h +0
-0__entry->hdr_timestamp =le64_to_cpu ((hdr).timestamp);\drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 268
Quoted 1 line
drivers/cxl/core/trace.h +0
-0__entry->hdr_maint_op_class = (hdr).maint_op_class;\drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 269
Quoted 2 lines
drivers/cxl/core/trace.h +1
-1- __entry->hdr_maint_op_sub_class = (hdr).maint_op_sub_class + __entry->hdr_maint_op_sub_class = (hdr).maint_op_sub_class;\drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 270
Quoted 1 line
drivers/cxl/core/trace.h +1
-0+ __entry->hdr_ld_id =le16_to_cpu ((hdr).ld_id);\drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 271
Quoted 1 line
drivers/cxl/core/trace.h +1
-0+ __entry->hdr_head_id = (hdr).head_idclean
drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 273
Quoted 3 lines
drivers/cxl/core/trace.h +0
-0#define CXL_EVT_TP_printk (fmt, ...) \ TP_printk("memdev=%s host=%s serial=%lld log=%s : time=%lluuuid=%pUb " \
drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 274
Quoted 1 line
drivers/cxl/core/trace.h +0
-0"len=%d flags='%s' handle=%x related_handle=%x " \drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 267
Quoted 1 line
drivers/cxl/core/trace.h +0
-1- "maint_op_class=%u maint_op_sub_class=%u : " fmt,\drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 275
Quoted 1 line
drivers/cxl/core/trace.h +1
-0+"maint_op_class=%u maint_op_sub_class=%u ld_id=%x " \drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 276
Quoted 1 line
drivers/cxl/core/trace.h +1
-0+ "head_id=%x : " fmt,\clean
drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 277
Quoted 1 line
drivers/cxl/core/trace.h +0
-0__get_str(memdev), __get_str(host), __entry->serial,\drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 278
Quoted 1 line
drivers/cxl/core/trace.h +0
-0cxl_event_log_type_str(__entry->log),\drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 281
Quoted 3 lines
drivers/cxl/core/trace.h +0
-0__entry->hdr_timestamp, &__entry->hdr_uuid, __entry- hdr_length,\ show_hdr_flags(__entry->hdr_flags), __entry->hdr_handle,\drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 282
Quoted 1 line
drivers/cxl/core/trace.h +0
-0__entry->hdr_related_handle, __entry->hdr_maint_op_class,\
Quoted 8 lines
drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 283
Quoted 2 lines
drivers/cxl/core/trace.h +1
-1- __entry->hdr_maint_op_sub_class, \ + __entry->hdr_maint_op_sub_class, __entry->hdr_ld_id,\drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 284
Quoted 1 line
drivers/cxl/core/trace.h +1
-0+ __entry->hdr_head_id,\drivers/cxl/core/trace.h TRACE_EVENT(cxl_overflow, · line 285
Quoted 1 line
drivers/cxl/core/trace.h +0
-0##__VA_ARGS__)OK (only OK because I may have just started a new line to avoid the (-))
Will do.
Quoted 24 lines
Quoted 8 lines
drivers/cxl/core/trace.h +0
-0TRACE_EVENT(cxl_generic_event,include/cxl/event.h index renamed from include/cxl/event.h +0
-0
f9ae1796da85..f4cb8568566b100644include/cxl/event.h struct cxl_event_record_hdr { · line 25
Quoted 8 lines
include/cxl/event.h +3
-1@@ -19,7 +19,9 @@ struct cxl_event_record_hdr {__le64 timestamp;u8 maint_op_class;u8 maint_op_sub_class; -u8 reserved[14 ]; +__le16 ld_id; +u8 head_id; +u8 reserved[11 ]; } __packed;clean
Quoted 5 lines
include/cxl/event.h +0
-1struct cxl_event_media_hdr { --2.43.0
Thanks,
Shiju