aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorJohn Fastabend <[email protected]>2018-05-17 14:16:58 -0700
committerDaniel Borkmann <[email protected]>2018-05-18 22:44:10 +0200
commit303def35f64e37bcd5401d202889f5fbc0241179 (patch)
tree2ec1213038df81591e3b99242116a3ae5239e4fe /tools/perf/scripts/python/stat-cpi.py
parent1cb61381e72ea2426511c0fb63176baf952bcd9f (diff)
bpf: allow sk_msg programs to read sock fields
Currently sk_msg programs only have access to the raw data. However, it is often useful when building policies to have the policies specific to the socket endpoint. This allows using the socket tuple as input into filters, etc. This patch adds ctx access to the sock fields. Signed-off-by: John Fastabend <[email protected]> Acked-by: Martin KaFai Lau <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions