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

Ira Weiny posted 3 patches 2 years, 6 months ago
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(-)
[PATCH v2 0/3] cxl: Enhance trace point information
Posted by Ira Weiny 2 years, 6 months ago
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>
RE: [PATCH v2 0/3] cxl: Enhance trace point information
Posted by Dan Williams 2 years, 6 months ago
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.