aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorHengqi Chen <[email protected]>2021-10-21 13:47:51 +0000
committerAlexei Starovoitov <[email protected]>2021-10-21 22:11:06 +0000
commit9eeb3aa33ae005526f672b394c1791578463513f (patch)
tree0c70fe4027644192a334d3bd60bbbcb8e4f7758d /tools/bpf/bpftool/prog.c
parentsamples: bpf: Suppress readelf stderr when probing for BTF support (diff)
downloadkernel-9eeb3aa33ae005526f672b394c1791578463513f.tar.gz
kernel-9eeb3aa33ae005526f672b394c1791578463513f.zip
bpf: Add bpf_skc_to_unix_sock() helper
The helper is used in tracing programs to cast a socket pointer to a unix_sock pointer. The return value could be NULL if the casting is illegal. Suggested-by: Yonghong Song <[email protected]> Signed-off-by: Hengqi Chen <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions