lkml.org 
[lkml]   [2018]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 net-next] net: tracepoint: exposing sk_faimily in tracepoint inet_sock_set_state
From
From: Yafang Shao <laoar.shao@gmail.com>
Date: Sun, 7 Jan 2018 14:31:47 +0800

> 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 <brendan.d.gregg@gmail.com>
> Suggested-by: Song Liu <songliubraving@fb.com>
> Signed-off-by: Yafang Shao <laoar.shao@gmail.com>

Applied, thank you.

\
 
 \ /
  Last update: 2018-01-14 23:18    [W:0.077 / U:0.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site