summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorOz Shlomo <ozsh@nvidia.com>2023-02-16 12:34:21 +0000
committerSaeed Mahameed <saeedm@nvidia.com>2023-03-15 15:50:17 -0700
commitd1a0075ad6b693c2bd41e7aedb8a4f3b74b6999c (patch)
tree6b960fd7acd4b528c0602c1a664a0b3b182eb4b8 /tools/perf/scripts/python/export-to-postgresql.py
parent78dee7befd56987283c13877b834c0aa97ad51b9 (diff)
net/sched: TC, fix raw counter initialization
Freed counters may be reused by fs core. As such, raw counters may not be initialized to zero. Cache the counter values when the action stats object is initialized to have a proper base value for calculating the difference from the previous query. Fixes: 2b68d659a704 ("net/mlx5e: TC, support per action stats") Signed-off-by: Oz Shlomo <ozsh@nvidia.com> Reviewed-by: Paul Blakey <paulb@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions