diff options
author | Vishal Verma <[email protected]> | 2023-06-14 11:17:42 -0600 |
---|---|---|
committer | Dan Williams <[email protected]> | 2023-06-25 15:58:40 -0700 |
commit | 6e4ca04af73e689bcfdad9047cd248ed93491e95 (patch) | |
tree | 4db3c9cb74554d827bd18d2075db002a3aa9cca7 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | b46c5fa57cc60692412f616ac66ab624a941fdb3 (diff) |
tools/testing/cxl: Use named effects for the Command Effect Log
As more emulated mailbox commands are added to cxl_test, it is a pain
point to look up command effect numbers for each effect. Replace the
bare numbers in the mock driver with an enum that lists all possible
effects.
Cc: Davidlohr Bueso <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Cc: Russ Weight <[email protected]>
Cc: Alison Schofield <[email protected]>
Cc: Ira Weiny <[email protected]>
Cc: Dave Jiang <[email protected]>
Cc: Ben Widawsky <[email protected]>
Cc: Dan Williams <[email protected]>
Suggested-by: Jonathan Cameron <[email protected]>
Reviewed-by: Alison Schofield <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Signed-off-by: Vishal Verma <[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