diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-11-07 21:50:56 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-09 17:50:28 -0800 |
commit | 497a5757ce4e8f37219a3989ac6a561eb9a8e6c7 (patch) | |
tree | cf14486f1e990548414cbce0ac7183da1d742b18 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 6a9006287959ef69556d612dcbde9e68bf16a42b (diff) |
tun: switch to net core provided statistics counters
Switch tun to the standard statistics pattern:
- use netdev->stats for the less frequently accessed counters
- use netdev->tstats for the frequently accessed per-cpu counters
v3:
- add atomic_long_t member rx_frame_errors for making counter updates
atomic
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions