mbox series

[v2,0/3] cxl: Enhance trace point information

Message ID 20230208-cxl-event-names-v2-0-fca130c2c68b@intel.com
Headers show
Series cxl: Enhance trace point information | expand

Message

Ira Weiny Feb. 15, 2023, 4:12 a.m. UTC
Trace point definitions are reporting different linux devices for the
same CXL hardware device.  Clean this up.  Add additional parent device
and serial number to all the trace points for easier user space
identification.

Signed-off-by: Ira Weiny <ira.weiny@intel.com>
---
Changes in v2:
- Dan: Add patch for serial number
- Fix macro parameter isolation
- Minor formatting change
- Link to v1: https://lore.kernel.org/r/20230208-cxl-event-names-v1-0-73f0ff3a3870@intel.com

---
Ira Weiny (3):
      cxl/trace: Standardize device information output
      cxl/trace: Add host output to trace points
      cxl/trace: Add serial number to trace points

 drivers/cxl/core/mbox.c  | 14 +++----
 drivers/cxl/core/pci.c   |  8 +---
 drivers/cxl/core/trace.h | 95 +++++++++++++++++++++++++++++-------------------
 3 files changed, 66 insertions(+), 51 deletions(-)
---
base-commit: b8b9ffced017528bcdd262730ab10bc5084c3bb4
change-id: 20230208-cxl-event-names-9372fb72a607

Best regards,

Comments

Dan Williams Feb. 16, 2023, 10:48 p.m. UTC | #1
Ira Weiny wrote:
> Trace point definitions are reporting different linux devices for the
> same CXL hardware device.  Clean this up.  Add additional parent device
> and serial number to all the trace points for easier user space
> identification.
> 
> Signed-off-by: Ira Weiny <ira.weiny@intel.com>
> ---
> Changes in v2:
> - Dan: Add patch for serial number
> - Fix macro parameter isolation
> - Minor formatting change
> - Link to v1: https://lore.kernel.org/r/20230208-cxl-event-names-v1-0-73f0ff3a3870@intel.com
> 
> ---
> Ira Weiny (3):
>       cxl/trace: Standardize device information output
>       cxl/trace: Add host output to trace points
>       cxl/trace: Add serial number to trace points
> 
>  drivers/cxl/core/mbox.c  | 14 +++----
>  drivers/cxl/core/pci.c   |  8 +---
>  drivers/cxl/core/trace.h | 95 +++++++++++++++++++++++++++++-------------------
>  3 files changed, 66 insertions(+), 51 deletions(-)
> ---
> base-commit: b8b9ffced017528bcdd262730ab10bc5084c3bb4
> change-id: 20230208-cxl-event-names-9372fb72a607
> 
> Best regards,
> -- 
> Ira Weiny <ira.weiny@intel.com>
> 

Looks good, applied.