aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2018-11-09 15:52:45 +0100
committerDavid S. Miller <[email protected]>2018-11-09 20:07:05 -0800
commit029a374348807222a872ba4baaf6e3e96846aa16 (patch)
treea07a11a1acb1265789fc471fcbdce2e6d2d8f1b0 /tools/perf/scripts/python/sctop.py
parent560f1ba4d8e8cb70f59b704a6edfa094b9bc0266 (diff)
udp6: cleanup stats accounting in recvmsg()
In the udp6 code path, we needed multiple tests to select the correct mib to be updated. Since we touch at least a counter at each iteration, it's convenient to use the recently introduced __UDPX_MIB() helper once and remove some code duplication. Signed-off-by: Paolo Abeni <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions