diff options
| author | Yafang Shao <[email protected]> | 2018-04-22 21:50:04 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-04-23 11:56:44 -0400 |
| commit | c6849a3ac17e336811f1d5bba991d2a9bdc47af1 (patch) | |
| tree | b7348427ce20d56554deaabba280b190f46d9cb1 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | ec8c360a6ecdea595aff957c6a720e059275f1f4 (diff) | |
net: init sk_cookie for inet socket
With sk_cookie we can identify a socket, that is very helpful for
traceing and statistic, i.e. tcp tracepiont and ebpf.
So we'd better init it by default for inet socket.
When using it, we just need call atomic64_read(&sk->sk_cookie).
Signed-off-by: Yafang Shao <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions