Searched refs:SEC (Results 1 - 25 of 476) sorted by relevance

1234567891011>>

/linux-master/samples/bpf/
H A Dxdp_monitor.bpf.c8 char _license[] SEC("license") = "GPL";
H A Dtest_overhead_raw_tp_kern.c6 SEC("raw_tracepoint/task_rename")
12 SEC("raw_tracepoint/urandom_read")
17 char _license[] SEC("license") = "GPL";
H A Dspintest_kern.c20 } my_map SEC(".maps");
26 } my_map2 SEC(".maps");
33 } stackmap SEC(".maps");
49 SEC("kprobe/spin_unlock")PROG(p1)
50 SEC("kprobe/spin_lock")PROG(p2)
51 SEC("kprobe/mutex_spin_on_owner")PROG(p3)
52 SEC("kprobe/rwsem_spin_on_owner")PROG(p4)
53 SEC("kprobe/spin_unlock_irqrestore")PROG(p5)
54 SEC("kprobe/_raw_spin_unlock_irqrestore")PROG(p6)
55 SEC("kprob
[all...]
H A Dtask_fd_query_kern.c7 SEC("kprobe/blk_mq_start_request")
13 SEC("kretprobe/blk_account_io_done")
18 char _license[] SEC("license") = "GPL";
19 u32 _version SEC("version") = LINUX_VERSION_CODE;
/linux-master/tools/testing/selftests/bpf/progs/
H A Dmetadata_unused.c6 volatile const char bpf_metadata_a[] SEC(".rodata") = "foo";
7 volatile const int bpf_metadata_b SEC(".rodata") = 1;
9 SEC("cgroup_skb/egress")
15 char _license[] SEC("license") = "GPL";
H A Dmetadata_used.c6 volatile const char bpf_metadata_a[] SEC(".rodata") = "bar";
7 volatile const int bpf_metadata_b SEC(".rodata") = 2;
9 SEC("cgroup_skb/egress")
15 char _license[] SEC("license") = "GPL";
H A Dtest_xdp_redirect.c15 SEC("redirect_to_111")
20 SEC("redirect_to_222")
26 char _license[] SEC("license") = "GPL";
H A Dtest_xdp_link.c6 char LICENSE[] SEC("license") = "GPL";
8 SEC("xdp")
14 SEC("tc")
H A Dxdp_tx.c6 SEC("xdp")
12 char _license[] SEC("license") = "GPL";
H A Dxdp_dummy.c7 SEC("xdp")
13 char _license[] SEC("license") = "GPL";
H A Dtest_xdp_with_cpumap_frags_helpers.c13 } cpu_map SEC(".maps");
15 SEC("xdp/cpumap")
21 SEC("xdp.frags/cpumap")
27 char _license[] SEC("license") = "GPL";
H A Dtest_xdp_with_devmap_frags_helpers.c10 } dm_ports SEC(".maps");
12 /* valid program on DEVMAP entry via SEC name;
15 SEC("xdp/devmap")
21 SEC("xdp.frags/devmap")
27 char _license[] SEC("license") = "GPL";
H A Dtest_sockmap_progs_query.c10 } sock_map SEC(".maps");
12 SEC("sk_skb")
18 SEC("sk_msg")
24 char _license[] SEC("license") = "GPL";
H A Dtest_trampoline_count.c6 SEC("fentry/bpf_modify_return_test")
12 SEC("fmod_ret/bpf_modify_return_test")
18 SEC("fexit/bpf_modify_return_test")
24 char _license[] SEC("license") = "GPL";
H A Dtest_attach_probe.c26 SEC("kprobe")
33 SEC("ksyscall/nanosleep")
44 SEC("kprobe/" SYS_PREFIX "sys_nanosleep")
51 SEC("kretprobe")
58 SEC("kretsyscall/nanosleep")
65 SEC("uprobe")
72 SEC("uretprobe")
79 SEC("uprobe")
87 SEC("uretprobe//proc/self/exe:trigger_func2")
94 SEC("uprob
[all...]
H A Dtest_custom_sec_handlers.c17 SEC("abc")
24 SEC("abc/whatever")
31 SEC("custom")
38 SEC("custom/something")
45 SEC("kprobe")
52 SEC("xyz/blah")
63 char _license[] SEC("license") = "GPL";
H A 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";
H A Dtest_overhead.c12 SEC("kprobe/__set_task_comm")
18 SEC("kretprobe/__set_task_comm")
24 SEC("raw_tp/task_rename")
30 SEC("fentry/__set_task_comm")
36 SEC("fexit/__set_task_comm")
42 char _license[] SEC("license") = "GPL";
H A Dtest_xdp_with_cpumap_helpers.c13 } cpu_map SEC(".maps");
15 SEC("xdp")
21 SEC("xdp")
27 SEC("xdp/cpumap")
36 SEC("xdp.frags/cpumap")
42 char _license[] SEC("license") = "GPL";
H A Dbpf_iter_test_kern6.c6 char _license[] SEC("license") = "GPL";
10 SEC("iter/bpf_map_elem")
H A Dfmod_ret_freplace.c7 SEC("fmod_ret/security_new_get_constant")
14 char _license[] SEC("license") = "GPL";
H A Dfreplace_get_constant.c7 SEC("freplace/get_constant")
15 char _license[] SEC("license") = "GPL";
H A Dtest_snprintf_single.c10 SEC("raw_tp/sys_enter")
20 char _license[] SEC("license") = "GPL";
H A Dtest_perf_link.c9 SEC("perf_event")
16 char _license[] SEC("license") = "GPL";
/linux-master/tools/perf/tests/
H A 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;

Completed in 114 milliseconds

1234567891011>>