diff options
author | Jiri Pirko <jiri@mellanox.com> | 2018-01-19 03:24:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-21 18:21:30 -0500 |
commit | c18c1e186ba872da73e944d9c54f027ea3899d39 (patch) | |
tree | bcf3bc571ae4c491f434b7bfe52c7e6c21fd4a4b /tools/perf/scripts/python/stackcollapse.py | |
parent | 140ce421217e99f68a0108382e0789c1b1a15547 (diff) |
mlxsw: core: Make counter index allocated inside the action append
So far, the caller of mlxsw_afa_block_append_counter needed to allocate
counter index by hand. Benefit from the previously introduced resource
infra and counter_index_get/put callbacks, and allocate the counter
index in place where it is needed, inside the action append function.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions