index
:
linux
frominto-error
master
Contrib clone of linux
matthias
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
tools
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'tools')
-rw-r--r--
tools/bpf/Makefile
6
-rw-r--r--
tools/bpf/bpf_exp.y
14
-rw-r--r--
tools/bpf/bpftool/btf.c
57
-rw-r--r--
tools/bpf/bpftool/main.c
4
-rw-r--r--
tools/bpf/bpftool/main.h
2
-rw-r--r--
tools/bpf/bpftool/prog.c
22
-rw-r--r--
tools/include/uapi/linux/bpf.h
188
-rw-r--r--
tools/include/uapi/linux/if_link.h
2
-rw-r--r--
tools/lib/bpf/.gitignore
4
-rw-r--r--
tools/lib/bpf/Makefile
58
-rw-r--r--
tools/lib/bpf/bpf.c
11
-rw-r--r--
tools/lib/bpf/bpf.h
10
-rw-r--r--
tools/lib/bpf/bpf_core_read.h
263
-rw-r--r--
tools/lib/bpf/bpf_endian.h
(renamed from tools/testing/selftests/bpf/bpf_endian.h)
0
-rw-r--r--
tools/lib/bpf/bpf_helpers.h
47
-rw-r--r--
tools/lib/bpf/bpf_prog_linfo.c
14
-rw-r--r--
tools/lib/bpf/bpf_tracing.h
195
-rw-r--r--
tools/lib/bpf/btf.c
97
-rw-r--r--
tools/lib/bpf/btf.h
6
-rw-r--r--
tools/lib/bpf/btf_dump.c
37
-rw-r--r--
tools/lib/bpf/libbpf.c
2104
-rw-r--r--
tools/lib/bpf/libbpf.h
99
-rw-r--r--
tools/lib/bpf/libbpf.map
18
-rw-r--r--
tools/lib/bpf/libbpf_internal.h
63
-rw-r--r--
tools/lib/bpf/libbpf_probes.c
1
-rw-r--r--
tools/lib/bpf/netlink.c
87
-rw-r--r--
tools/lib/bpf/nlattr.c
10
-rw-r--r--
tools/lib/bpf/test_libbpf.c
(renamed from tools/lib/bpf/test_libbpf.cpp)
14
-rw-r--r--
tools/lib/bpf/xsk.c
173
-rw-r--r--
tools/testing/selftests/bpf/.gitignore
6
-rw-r--r--
tools/testing/selftests/bpf/Makefile
396
-rw-r--r--
tools/testing/selftests/bpf/bpf_helpers.h
535
-rw-r--r--
tools/testing/selftests/bpf/bpf_legacy.h
39
-rw-r--r--
tools/testing/selftests/bpf/bpf_trace_helpers.h
58
-rw-r--r--
tools/testing/selftests/bpf/cgroup_helpers.c
4
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/attach_probe.c
44
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/bpf_verif_scale.c
4
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/btf_dump.c
(renamed from tools/testing/selftests/bpf/test_btf_dump.c)
88
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/core_reloc.c
261
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/fentry_fexit.c
90
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/fentry_test.c
64
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/fexit_bpf2bpf.c
76
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/fexit_stress.c
76
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/fexit_test.c
64
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/flow_dissector_reattach.c
140
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/kfree_skb.c
154
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/mmap.c
220
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/pinning.c
224
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/probe_user.c
78
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/rdonly_maps.c
95
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/reference_tracking.c
19
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/section_names.c
(renamed from tools/testing/selftests/bpf/test_section_names.c)
90
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/skb_ctx.c
5
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/tailcalls.c
487
-rw-r--r--
tools/testing/selftests/bpf/prog_tests/test_overhead.c
142
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_wrong_val_type.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_wrong_val_type1.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_arrays___err_wrong_val_type2.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___bit_sz_change.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___bitfield_vs_int.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___err_too_big_bitfield.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_bitfields___just_big_enough.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_existence.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_existence___err_wrong_arr_kind.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_existence___err_wrong_arr_value_type.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_existence___err_wrong_int_kind.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_existence___err_wrong_int_sz.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_existence___err_wrong_int_type.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_existence___err_wrong_struct_type.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_existence___minimal.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_bitfield.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_16.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_32.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_64.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_ints___err_wrong_sz_8.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_size.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf__core_reloc_size___diff_sz.c
3
-rw-r--r--
tools/testing/selftests/bpf/progs/btf_dump_test_case_padding.c
5
-rw-r--r--
tools/testing/selftests/bpf/progs/core_reloc_types.h
238
-rw-r--r--
tools/testing/selftests/bpf/progs/fentry_test.c
54
-rw-r--r--
tools/testing/selftests/bpf/progs/fexit_bpf2bpf.c
82
-rw-r--r--
tools/testing/selftests/bpf/progs/fexit_test.c
57
-rw-r--r--
tools/testing/selftests/bpf/progs/kfree_skb.c
153
-rw-r--r--
tools/testing/selftests/bpf/progs/loop1.c
1
-rw-r--r--
tools/testing/selftests/bpf/progs/loop2.c
1
-rw-r--r--
tools/testing/selftests/bpf/progs/loop3.c
1
-rw-r--r--
tools/testing/selftests/bpf/progs/pyperf.h
67
-rw-r--r--
tools/testing/selftests/bpf/progs/sockopt_sk.c
13
-rw-r--r--
tools/testing/selftests/bpf/progs/strobemeta.h
36
-rw-r--r--
tools/testing/selftests/bpf/progs/tailcall1.c
48
-rw-r--r--
tools/testing/selftests/bpf/progs/tailcall2.c
59
-rw-r--r--
tools/testing/selftests/bpf/progs/tailcall3.c
31
-rw-r--r--
tools/testing/selftests/bpf/progs/tailcall4.c
33
-rw-r--r--
tools/testing/selftests/bpf/progs/tailcall5.c
40
-rw-r--r--
tools/testing/selftests/bpf/progs/tcp_rtt.c
13
-rw-r--r--
tools/testing/selftests/bpf/progs/test_attach_probe.c
1
-rw-r--r--
tools/testing/selftests/bpf/progs/test_btf_haskv.c
5
-rw-r--r--
tools/testing/selftests/bpf/progs/test_btf_newkv.c
5
-rw-r--r--
tools/testing/selftests/bpf/progs/test_btf_nokv.c
4
-rw-r--r--
tools/testing/selftests/bpf/progs/test_core_reloc_arrays.c
15
-rw-r--r--
tools/testing/selftests/bpf/progs/test_core_reloc_bitfields_direct.c
63
-rw-r--r--
tools/testing/selftests/bpf/progs/test_core_reloc_bitfields_probed.c
57
-rw-r--r--
tools/testing/selftests/bpf/progs/test_core_reloc_existence.c
79
-rw-r--r--
tools/testing/selftests/bpf/progs/test_core_reloc_flavors.c
13
-rw-r--r--
tools/testing/selftests/bpf/progs/test_core_reloc_ints.c
23
-rw-r--r--
tools/testing/selftests/bpf/progs/test_core_reloc_kernel.c
70
-rw-r--r--
tools/testing/selftests/bpf/progs/test_core_reloc_misc.c
13
-rw-r--r--
tools/testing/selftests/bpf/progs/test_core_reloc_mods.c
23
-rw-r--r--
tools/testing/selftests/bpf/progs/test_core_reloc_nesting.c
11
-rw-r--r--
tools/testing/selftests/bpf/progs/test_core_reloc_primitives.c
17
-rw-r--r--
tools/testing/selftests/bpf/progs/test_core_reloc_ptr_as_arr.c
9
-rw-r--r--
tools/testing/selftests/bpf/progs/test_core_reloc_size.c
51
-rw-r--r--
tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c
4
-rw-r--r--
tools/testing/selftests/bpf/progs/test_mmap.c
45
-rw-r--r--
tools/testing/selftests/bpf/progs/test_overhead.c
39
-rw-r--r--
tools/testing/selftests/bpf/progs/test_perf_buffer.c
1
-rw-r--r--
tools/testing/selftests/bpf/progs/test_pinning.c
31
-rw-r--r--
tools/testing/selftests/bpf/progs/test_pinning_invalid.c
16
-rw-r--r--
tools/testing/selftests/bpf/progs/test_pkt_access.c
38
-rw-r--r--
tools/testing/selftests/bpf/progs/test_probe_user.c
26
-rw-r--r--
tools/testing/selftests/bpf/progs/test_queue_stack_map.h
(renamed from tools/testing/selftests/bpf/test_queue_stack_map.h)
0
-rw-r--r--
tools/testing/selftests/bpf/progs/test_rdonly_maps.c
83
-rw-r--r--
tools/testing/selftests/bpf/progs/test_seg6_loop.c
4
-rw-r--r--
tools/testing/selftests/bpf/progs/test_sk_lookup_kern.c
18
-rw-r--r--
tools/testing/selftests/bpf/progs/test_skb_ctx.c
1
-rw-r--r--
tools/testing/selftests/bpf/progs/test_stacktrace_map.c
1
-rw-r--r--
tools/testing/selftests/bpf/progs/test_sysctl_loop1.c
5
-rw-r--r--
tools/testing/selftests/bpf/progs/test_tcp_estats.c
2
-rwxr-xr-x
tools/testing/selftests/bpf/test_bpftool_build.sh
30
-rwxr-xr-x
tools/testing/selftests/bpf/test_flow_dissector.sh
48
-rwxr-xr-x
tools/testing/selftests/bpf/test_libbpf.sh
43
-rw-r--r--
tools/testing/selftests/bpf/test_libbpf_open.c
144
-rw-r--r--