Home
last modified time | relevance | path

Searched refs:SEC (Results 1 – 25 of 95) sorted by relevance

1234

/tools/testing/selftests/bpf/progs/
Dtest_attach_probe.c13 } results_map SEC(".maps");
15 SEC("kprobe/sys_nanosleep")
24 SEC("kretprobe/sys_nanosleep")
33 SEC("uprobe/trigger_func")
42 SEC("uretprobe/trigger_func")
51 char _license[] SEC("license") = "GPL";
52 __u32 _version SEC("version") = 1;
Dxdp_redirect_map.c11 } tx_port SEC(".maps");
13 SEC("redirect_map_0")
19 SEC("redirect_map_1")
25 SEC("redirect_map_2")
31 char _license[] SEC("license") = "GPL";
Dsockmap_verdict_prog.c5 int _version SEC("version") = 1;
12 } sock_map_rx SEC(".maps");
19 } sock_map_tx SEC(".maps");
26 } sock_map_msg SEC(".maps");
33 } sock_map_break SEC(".maps");
35 SEC("sk_skb2")
65 char _license[] SEC("license") = "GPL";
Dtest_xdp_redirect.c15 int _version SEC("version") = 1;
17 SEC("redirect_to_111")
22 SEC("redirect_to_222")
28 char _license[] SEC("license") = "GPL";
Dtest_stacktrace_build_id.c16 } control_map SEC(".maps");
23 } stackid_hmap SEC(".maps");
33 } stackmap SEC(".maps");
40 } stack_amap SEC(".maps");
50 SEC("tracepoint/random/urandom_read")
75 char _license[] SEC("license") = "GPL";
76 __u32 _version SEC("version") = 1; /* ignored by tracepoints, required by libbpf.a */
Dtest_stacktrace_map.c16 } control_map SEC(".maps");
23 } stackid_hmap SEC(".maps");
32 } stackmap SEC(".maps");
39 } stack_amap SEC(".maps");
53 SEC("tracepoint/sched/sched_switch")
76 char _license[] SEC("license") = "GPL";
77 __u32 _version SEC("version") = 1; /* ignored by tracepoints, required by libbpf.a */
Dget_cgroup_id_kern.c12 } cg_ids SEC(".maps");
19 } pidmap SEC(".maps");
21 SEC("tracepoint/syscalls/sys_enter_nanosleep")
39 char _license[] SEC("license") = "GPL";
40 __u32 _version SEC("version") = 1; /* ignored by tracepoints, required by libbpf.a */
Dtest_perf_buffer.c12 } perf_buf_map SEC(".maps");
14 SEC("kprobe/sys_nanosleep")
24 char _license[] SEC("license") = "GPL";
25 __u32 _version SEC("version") = 1;
Dtest_sk_lookup_kern.c18 int _version SEC("version") = 1;
19 char _license[] SEC("license") = "GPL";
56 SEC("sk_lookup_success")
81 SEC("sk_lookup_success_simple")
93 SEC("fail_use_after_free")
108 SEC("fail_modify_sk_pointer")
123 SEC("fail_modify_sk_or_null_pointer")
137 SEC("fail_no_release")
146 SEC("fail_release_twice")
158 SEC("fail_release_unchecked")
[all …]
Dsockopt_inherit.c5 char _license[] SEC("license") = "GPL";
6 __u32 _version SEC("version") = 1;
22 } cloned1_map SEC(".maps");
29 } cloned2_map SEC(".maps");
36 } listener_only_map SEC(".maps");
51 SEC("cgroup/getsockopt")
76 SEC("cgroup/setsockopt")
Dtest_map_in_map.c15 } mim_array SEC(".maps");
24 } mim_hash SEC(".maps");
26 SEC("xdp_mimtest")
52 int _version SEC("version") = 1;
53 char _license[] SEC("license") = "GPL";
Dtest_btf_newkv.c6 int _version SEC("version") = 1;
14 struct bpf_map_def SEC("maps") btf_map_legacy = {
28 } btf_map SEC(".maps");
64 SEC("dummy_tracepoint")
70 char _license[] SEC("license") = "GPL";
Dsocket_cookie_prog.c20 } socket_cookies SEC(".maps");
22 SEC("cgroup/connect6")
41 SEC("sockops")
68 int _version SEC("version") = 1;
70 char _license[] SEC("license") = "GPL";
Dsockopt_multi.c6 char _license[] SEC("license") = "GPL";
7 __u32 _version SEC("version") = 1;
9 SEC("cgroup/getsockopt/child")
32 SEC("cgroup/getsockopt/parent")
55 SEC("cgroup/setsockopt")
Dtest_skb_cgroup_id_kern.c13 struct bpf_map_def SEC("maps") cgroup_ids = {
31 SEC("cgroup_id_logger")
45 int _version SEC("version") = 1;
47 char _license[] SEC("license") = "GPL";
Dtest_btf_nokv.c6 int _version SEC("version") = 1;
13 struct bpf_map_def SEC("maps") btf_map = {
49 SEC("dummy_tracepoint")
55 char _license[] SEC("license") = "GPL";
Dtest_btf_haskv.c6 int _version SEC("version") = 1;
13 struct bpf_map_def SEC("maps") btf_map = {
51 SEC("dummy_tracepoint")
57 char _license[] SEC("license") = "GPL";
Dtest_tcpnotify_kern.c22 } global_map SEC(".maps");
29 } perf_event_map SEC(".maps");
31 int _version SEC("version") = 1;
33 SEC("sockops")
95 char _license[] SEC("license") = "GPL";
Dtest_tracepoint.c19 SEC("tracepoint/sched/sched_switch")
25 char _license[] SEC("license") = "GPL";
26 __u32 _version SEC("version") = 1; /* ignored by tracepoints, required by libbpf.a */
/tools/perf/include/bpf/
Dbpf.h22 struct bpf_map SEC("maps") name = { \
50 #define SEC(NAME) __attribute__((section(NAME), used)) macro
53 SEC(#function "=" #function " " #vars) function
56 SEC("syscalls:sys_enter_" #name) syscall_enter_ ## name
59 SEC("syscalls:sys_exit_" #name) syscall_exit_ ## name
62 char _license[] SEC("license") = #name; \
63 int _version SEC("version") = LINUX_VERSION_CODE;
/tools/perf/tests/
Dbpf-script-test-kbuild.c10 #define SEC(NAME) __attribute__((section(NAME), used)) macro
14 SEC("func=vfs_llseek")
20 char _license[] SEC("license") = "GPL";
21 int _version SEC("version") = LINUX_VERSION_CODE;
Dbpf-script-test-relocation.c27 #define SEC(NAME) __attribute__((section(NAME), used)) macro
28 struct bpf_map_def SEC("maps") my_table = {
37 SEC("func=sys_write")
50 char _license[] SEC("license") = "GPL";
51 int _version SEC("version") = LINUX_VERSION_CODE;
Dbpf-script-example.c27 #define SEC(NAME) __attribute__((section(NAME), used)) macro
28 struct bpf_map_def SEC("maps") flip_table = {
35 SEC("func=do_epoll_wait")
48 char _license[] SEC("license") = "GPL";
49 int _version SEC("version") = LINUX_VERSION_CODE;
Dbpf-script-test-prologue.c10 #define SEC(NAME) __attribute__((section(NAME), used)) macro
29 SEC("func=null_lseek file->f_mode offset orig")
46 char _license[] SEC("license") = "GPL";
47 int _version SEC("version") = LINUX_VERSION_CODE;
/tools/testing/selftests/bpf/
Dtest_queue_stack_map.h11 int _version SEC("version") = 1;
19 } map_in SEC(".maps");
27 } map_out SEC(".maps");
29 SEC("test")
59 char _license[] SEC("license") = "GPL";

1234