diff options
author | Menglong Dong <[email protected]> | 2023-01-06 10:57:23 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-01-09 07:30:50 +0000 |
commit | c558246ee73e6f623ca503fb1fda626f313393a6 (patch) | |
tree | 5d4b8e7d259b220dd6af3766fd985241ad863c41 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | 294de9090938a7959e2757573509abd9ea7bd254 (diff) |
mptcp: add statistics for mptcp socket in use
Do the statistics of mptcp socket in use with sock_prot_inuse_add().
Therefore, we can get the count of used mptcp socket from
/proc/net/protocols:
& cat /proc/net/protocols
protocol size sockets memory press maxhdr slab module cl co di ac io in de sh ss gs se re sp bi br ha uh gp em
MPTCPv6 2048 0 0 no 0 yes kernel y n y y y y y y y y y y n n n y y y n
MPTCP 1896 1 0 no 0 yes kernel y n y y y y y y y y y y n n n y y y n
Acked-by: Paolo Abeni <[email protected]>
Signed-off-by: Menglong Dong <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions