aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorRobert Richter <[email protected]>2023-06-22 15:55:02 -0500
committerDan Williams <[email protected]>2023-06-25 11:37:58 -0700
commit573408049b7598a7c4ef6981b70b1275447d28e4 (patch)
tree724c5f2acce63c04fc52e0dc284601d29557caa9 /tools/perf/util/scripting-engines/trace-event-python.c
parent7481653deef24fb9a030339430d2f5723e0ccf78 (diff)
cxl/core/regs: Add @dev to cxl_register_map
The corresponding device of a register mapping is used for devm operations and logging. For operations with struct cxl_register_map the device needs to be kept track separately. To simpify the involved function interfaces, add @dev to cxl_register_map. While at it also reorder function arguments of cxl_map_device_regs() and cxl_map_component_regs() to have the object @cxl_register_map first. As a result a bunch of functions are available to be used with a @cxl_register_map object. This patch is in preparation of reworking the component register setup code. Signed-off-by: Robert Richter <[email protected]> Signed-off-by: Terry Bowman <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions