diff options
| author | Chenbo Feng <fengc@google.com> | 2017-03-23 03:27:35 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-03-24 03:01:02 +0300 |
| commit | 6acc5c2910689fc6ee181bf63085c5efff6a42bd (patch) | |
| tree | 049fec629362ea0f3017381bc96f4e117ed3e903 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 91b8270f2a4d1d9b268de90451cdca63a70052d6 (diff) | |
| download | linux-6acc5c2910689fc6ee181bf63085c5efff6a42bd.tar.xz | |
Add a eBPF helper function to retrieve socket uid
Returns the owner uid of the socket inside a sk_buff. This is useful to
perform per-UID accounting of network traffic or per-UID packet
filtering. The socket need to be a fullsock otherwise overflowuid is
returned.
Signed-off-by: Chenbo Feng <fengc@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
