diff options
author | Ira Weiny <[email protected]> | 2023-02-14 20:12:43 -0800 |
---|---|---|
committer | Dan Williams <[email protected]> | 2023-02-16 14:29:11 -0800 |
commit | 0c8393dcdb1ef4dc358d95a2523297175135874b (patch) | |
tree | dfd259f7b155891d05c7b17c32d588eccd0f949e /tools/perf/scripts/python/intel-pt-events.py | |
parent | 5a84711fd734c09b7d991b00657ba61a96612254 (diff) |
cxl/trace: Standardize device information output
The trace points were written to take a struct device input for the
trace. In CXL multiple device objects are associated with each CXL
hardware device. Using different device objects in the trace point can
lead to confusion for users.
The PCIe device is nice to have, but the user space tooling relies on
the memory device naming. It is better to have those device names
reported.
Change all trace points to take struct cxl_memdev as a standard and
report that name.
Furthermore, standardize on the name 'memdev' in both
/sys/kernel/tracing/trace and cxl-cli monitor output.
Cc: Steven Rostedt <[email protected]>
Cc: Dave Jiang <[email protected]>
Signed-off-by: Ira Weiny <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions