diff options
author | 2024-04-02 16:30:37 +0300 | |
---|---|---|
committer | 2024-04-03 19:47:58 -0700 | |
commit | 19b85f1b37ce1d97158ca2b1d7c1a3b3e640c813 (patch) | |
tree | 5d9c590dd8ba4e97de03e34d8c21307d1a07a04b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net/mlx5e: Make stats group fill_stats callbacks consistent with the API (diff) | |
download | wireguard-linux-19b85f1b37ce1d97158ca2b1d7c1a3b3e640c813.tar.xz wireguard-linux-19b85f1b37ce1d97158ca2b1d7c1a3b3e640c813.zip |
net/mlx5e: debugfs, Add reset option for command interface stats
Resetting stats just before some test/debug case allows us to eliminate
out the impact of previous commands. Useful in particular for the
average latency calculation.
The average_write() callback was unreachable, as "average" is a
read-only file. Extend, rename, and use it for a newly exposed
write-only "reset" file.
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Reviewed-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240402133043.56322-6-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions