aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorYevgeny Kliteynik <[email protected]>2022-08-25 15:35:59 +0300
committerSaeed Mahameed <[email protected]>2022-12-08 16:10:54 -0800
commit1339678fdde1c84ea8b4d6e3627f7742c87f95fa (patch)
tree229a5dd1c41db21ece1ee922cbf46a141544eb53 /tools/perf/scripts/python/syscall-counts.py
parentc72a57ad6e9183eeb6739ae688b6417df4a512ac (diff)
net/mlx5: DR, Manage definers with refcounts
In many cases different actions will ask for the same definer format. Instead of allocating new definer general object and running out of definers, have an xarray of allocated definers and keep track of their usage with refcounts: allocate a new definer only when there isn't one with the same format already created, and destroy definer only when its refcount runs down to zero. Signed-off-by: Yevgeny Kliteynik <[email protected]> Reviewed-by: Alex Vesker <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions