diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-01-05 07:05:27 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-06 09:13:39 +0300 |
commit | a8f947073f4ae489e8b9f3c19a17341cb260f660 (patch) | |
tree | f8e5eee88e263b7faac89f97267f44c500e69bd9 /tools/perf/scripts/python/syscall-counts.py | |
parent | 731d69a6bd13b7c0cdbd3607edfa681269d54828 (diff) | |
download | linux-a8f947073f4ae489e8b9f3c19a17341cb260f660.tar.xz |
devlink: restart dump based on devlink instance ids (nested)
Use xarray id for cases of simple sub-object iteration.
We'll now use the state->instance for the devlink instances
and state->idx for subobject index.
Moving the definition of idx into the inner loop makes sense,
so while at it also move other sub-object local variables into
the loop.
Reviewed-by: Jiri Pirko <jiri@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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions