aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorIra Weiny <[email protected]>2023-02-02 17:04:26 -0800
committerDan Williams <[email protected]>2023-02-10 17:54:45 -0800
commit814a15f3b4131d3205bd47e23b50ccc6c666ce1d (patch)
treeae54a8dc438841b4c29bac66bb9aa014b6644821 /tools/perf/scripts/python/export-to-sqlite.py
parent11ef026e467b05eac0a2ceb981d351ddc4b12216 (diff)
cxl/uapi: Tag commands from cxl_query_cmd()
It was pointed out that commands not supported by the device or excluded by the kernel were being returned in cxl_query_cmd().[1] While libcxl correctly handles failing commands, it is more efficient to not issue an invalid command in the first place. This can't be done without additional information being returned from cxl_query_cmd(). In addition, information about the availability of commands can be useful for debugging. Add flags to struct cxl_command_info which reflect if a command is enabled and/or exclusive to the kernel. [1] https://lore.kernel.org/all/[email protected]/ Suggested-by: Dan Williams <[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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions