diff options
| author | Jiang Wang <[email protected]> | 2021-08-16 19:03:21 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-08-16 18:43:39 -0700 |
| commit | 94531cfcbe79c3598acf96806627b2137ca32eb9 (patch) | |
| tree | 5936ad0cab83523153696d063f181c4dcce75b6d /tools/perf/scripts/python | |
| parent | 77462de14a43f4d98dbd8de0f5743a4e02450b1d (diff) | |
af_unix: Add unix_stream_proto for sockmap
Previously, sockmap for AF_UNIX protocol only supports
dgram type. This patch add unix stream type support, which
is similar to unix_dgram_proto. To support sockmap, dgram
and stream cannot share the same unix_proto anymore, because
they have different implementations, such as unhash for stream
type (which will remove closed or disconnected sockets from the map),
so rename unix_proto to unix_dgram_proto and add a new
unix_stream_proto.
Also implement stream related sockmap functions.
And add dgram key words to those dgram specific functions.
Signed-off-by: Jiang Wang <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Reviewed-by: Cong Wang <[email protected]>
Acked-by: Jakub Sitnicki <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions