diff options
author | Chris Mi <cmi@nvidia.com> | 2022-11-28 08:54:29 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-12-28 22:38:50 +0300 |
commit | 849190e3e4ccf452fbe2240eace30a9ca83fb8d2 (patch) | |
tree | 6b1f57c58b4eafbc06b7506008d80d6eabf18fc4 /tools/perf/scripts/python/task-analyzer.py | |
parent | f8c18a5749cf917096f75dd59885b7a0fe9298ba (diff) | |
download | linux-849190e3e4ccf452fbe2240eace30a9ca83fb8d2.tar.xz |
net/mlx5e: CT: Fix ct debugfs folder name
Need to use sprintf to build a string instead of sscanf. Otherwise
dirname is null and both "ct_nic" and "ct_fdb" won't be created.
But its redundant anyway as driver could be in switchdev mode but
still add nic rules. So use "ct" as folder name.
Fixes: 77422a8f6f61 ("net/mlx5e: CT: Add ct driver counters")
Signed-off-by: Chris Mi <cmi@nvidia.com>
Reviewed-by: Roi Dayan <roid@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions