summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorChuhong Yuan <hslester96@gmail.com>2019-08-06 09:59:50 +0800
committerSaeed Mahameed <saeedm@mellanox.com>2019-08-07 11:01:48 -0700
commit94f3e14e00fd43024b1c4d8e0c1e442db9b4d964 (patch)
tree5012c07d8fd3dcda85e4ee588d77332e6ab0d854 /tools/perf/scripts/python/exported-sql-viewer.py
parent694a296024d4cd5e637fa679c4c7e4c63a7c24f3 (diff)
mlx5: Use refcount_t for refcount
Reference counters are preferred to use refcount_t instead of atomic_t. This is because the implementation of refcount_t can prevent overflows and detect possible use-after-free. So convert atomic_t ref counters to refcount_t. Signed-off-by: Chuhong Yuan <hslester96@gmail.com> Acked-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions