mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
As of now, there're two sk_family are traced with sock:inet_sock_set_state, which are AF_INET and AF_INET6. So the sk_family are exposed as well. Then we can conveniently use it to do the filter. Both sk_family and sk_protocol are showed in the printk message, so we need not expose them as tracepoint arguments. Suggested-by: Brendan Gregg <[email protected]> Suggested-by: Song Liu <[email protected]> Signed-off-by: Yafang Shao <[email protected]> Reviewed-by: Song Liu <[email protected]> Signed-off-by: David S. Miller <[email protected]>