summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJiri Pirko <jiri@nvidia.com>2023-01-31 10:06:13 +0100
committerJakub Kicinski <kuba@kernel.org>2023-02-01 10:57:01 -0800
commit8589ba4e642aa257fa46ee82c975921e19db47d5 (patch)
tree57599bc3079d2b5d0ffffebdd68b58d1f2094f84 /tools/perf/scripts/python/task-analyzer.py
parentf87445953d4c1cbcaa110f95dfd64193756f7353 (diff)
devlink: rename and reorder instances of struct devlink_cmd
In order to maintain naming consistency, rename and reorder all usages of struct struct devlink_cmd in the following way: 1) Remove "gen" and replace it with "cmd" to match the struct name 2) Order devl_cmds[] and the header file to match the order of enum devlink_command 3) Move devl_cmd_rate_get among the peers 4) Remove "inst" for DEVLINK_CMD_GET 5) Add "_get" suffix to all to match DEVLINK_CMD_*_GET (only rate had it done correctly) Signed-off-by: Jiri Pirko <jiri@nvidia.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions