aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorTariq Toukan <tariqt@nvidia.com>2024-04-02 16:30:37 +0300
committerJakub Kicinski <kuba@kernel.org>2024-04-03 19:47:58 -0700
commit19b85f1b37ce1d97158ca2b1d7c1a3b3e640c813 (patch)
tree5d9c590dd8ba4e97de03e34d8c21307d1a07a04b /tools/perf/scripts/python/export-to-sqlite.py
parent27ea84ab35f5980d3b1a71381da8d62f7a4b54be (diff)
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions