diff options
author | Vlad Buslov <[email protected]> | 2019-10-30 16:09:00 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-10-30 18:07:50 -0700 |
commit | c8ecebd04cbb6badb46d42fe54282e7883ed63cc (patch) | |
tree | d94e6aac16139ec99b7517777980175edead7cc4 /tools/perf/scripts/python/stackcollapse.py | |
parent | 21d8bd123ac4f2223728901f0f26c90d1cbd42e3 (diff) |
net: sched: extract common action counters update code into function
Currently, all implementations of tc_action_ops->stats_update() callback
have almost exactly the same implementation of counters update
code (besides gact which also updates drop counter). In order to simplify
support for using both percpu-allocated and regular action counters
depending on run-time flag in following patches, extract action counters
update code into standalone function in act API.
This commit doesn't change functionality.
Signed-off-by: Vlad Buslov <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions