Home
last modified time | relevance | path

Searched refs:load_func (Results 1 – 25 of 37) sorted by relevance

12

/external/bcc/tests/python/
Dtest_clang.py41 fn = b.load_func("handle_packet", BPF.SCHED_CLS)
54 fn = b.load_func("handle_packet", BPF.SCHED_CLS)
66 fn = b.load_func("count_sched", BPF.KPROBE)
77 fn = b.load_func("count_foo", BPF.KPROBE)
89 fn = b.load_func("count_tcp", BPF.KPROBE)
101 fn = b.load_func("test", BPF.KPROBE)
119 fn = b.load_func("count_tcp", BPF.KPROBE)
137 fn = b.load_func("count_tcp", BPF.KPROBE)
169 fn = b.load_func("foo", BPF.KPROBE)
249 fn = b.load_func("do_request", BPF.KPROBE)
[all …]
Dtest_call1.py24 ether_fn = b.load_func("parse_ether", BPF.SCHED_CLS)
25 arp_fn = b.load_func("parse_arp", BPF.SCHED_CLS)
26 ip_fn = b.load_func("parse_ip", BPF.SCHED_CLS)
27 eop_fn = b.load_func("eop", BPF.SCHED_CLS)
Dtest_bpf_log.py50 ingress = b.load_func("sim_port",BPF.SCHED_CLS)
60 ingress = b.load_func("sim_port",BPF.SCHED_CLS)
Dtest_brb.py153 self.pem_fn = b.load_func("pem", BPF.SCHED_CLS)
154 self.br1_fn = b.load_func("br1", BPF.SCHED_CLS)
155 self.br2_fn = b.load_func("br2", BPF.SCHED_CLS)
/external/bcc/tests/lua/
Dtest_clang.lua14 local fn = b:load_func("count_sched", 'BPF_PROG_TYPE_KPROBE')
26 local fn = b:load_func("count_foo", 'BPF_PROG_TYPE_KPROBE')
61 local fn = b:load_func("foo", 'BPF_PROG_TYPE_KPROBE')
117 local fn = b:load_func("do_request", 'BPF_PROG_TYPE_KPROBE')
130 local fn = b:load_func("do_request", 'BPF_PROG_TYPE_KPROBE')
162 local fn = b:load_func("trace_entry", 'BPF_PROG_TYPE_KPROBE')
176 local fn = b:load_func("trace_entry", 'BPF_PROG_TYPE_KPROBE')
207 local fn1 = b:load_func("trace_entry1", 'BPF_PROG_TYPE_KPROBE')
208 local fn2 = b:load_func("trace_entry2", 'BPF_PROG_TYPE_KPROBE')
280 local fn = b:load_func("trace_entry", 'BPF_PROG_TYPE_KPROBE')
/external/bcc/examples/networking/tunnel_monitor/
Dmonitor.py18 ingress_fn = b.load_func("handle_ingress", BPF.SCHED_CLS)
19 egress_fn = b.load_func("handle_egress", BPF.SCHED_CLS)
20 outer_fn = b.load_func("handle_outer", BPF.SCHED_CLS)
21 inner_fn = b.load_func("handle_inner", BPF.SCHED_CLS)
/external/bcc/examples/networking/neighbor_sharing/
Dtc_neighbor_sharing.py16 wan_fn = b.load_func("classify_wan", BPF.SCHED_CLS)
17 pass_fn = b.load_func("pass", BPF.SCHED_CLS)
18 neighbor_fn = b.load_func("classify_neighbor", BPF.SCHED_CLS)
/external/bcc/examples/networking/xdp/
Dxdp_redirect_map.py85 in_fn = b.load_func("xdp_redirect_map", BPF.XDP)
86 out_fn = b.load_func("xdp_dummy", BPF.XDP)
Dxdp_redirect_cpu.py77 in_fn = b.load_func("xdp_redirect_cpu", BPF.XDP)
Dxdp_macswap_count.py157 fn = b.load_func("xdp_prog1", mode)
Dxdp_drop_count.py128 fn = b.load_func("xdp_prog1", mode)
/external/bcc/src/lua/bcc/
Dbpf.lua151 table.insert(result, self:load_func(name, prog_type))
157 function Bpf:load_func(fn_name, prog_type) function
193 local fn = self:load_func(args.fn_name, 'BPF_PROG_TYPE_KPROBE')
210 local fn = self:load_func(args.fn_name, 'BPF_PROG_TYPE_KPROBE')
/external/bcc/src/python/bcc/
D__init__.py350 fns.append(self.load_func(func_name, prog_type))
354 def load_func(self, func_name, prog_type): member in BPF
626 fn = self.load_func(fn_name, BPF.KPROBE)
650 fn = self.load_func(fn_name, BPF.KPROBE)
792 fn = self.load_func(fn_name, BPF.TRACEPOINT)
818 fn = self.load_func(fn_name, BPF.RAW_TRACEPOINT)
879 fn = self.load_func(fn_name, BPF.PERF_EVENT)
985 fn = self.load_func(fn_name, BPF.KPROBE)
1017 fn = self.load_func(fn_name, BPF.KPROBE)
1067 fn = self.load_func(func_name, BPF.KPROBE)
[all …]
/external/libchrome/third_party/jinja2/
Dloaders.py310 def __init__(self, load_func): argument
311 self.load_func = load_func
314 rv = self.load_func(template)
/external/bcc/examples/networking/vlan_learning/
Dvlan_learning.py21 phys_fn = b.load_func("handle_phys2virt", BPF.SCHED_CLS)
22 virt_fn = b.load_func("handle_virt2phys", BPF.SCHED_CLS)
/external/bcc/examples/networking/distributed_bridge/
Dtunnel.py20 ingress_fn = b.load_func("handle_ingress", BPF.SCHED_CLS)
21 egress_fn = b.load_func("handle_egress", BPF.SCHED_CLS)
Dtunnel_mesh.py23 ingress_fn = b.load_func("handle_ingress", BPF.SCHED_CLS)
24 egress_fn = b.load_func("handle_egress", BPF.SCHED_CLS)
/external/python/jinja/src/jinja2/
Dloaders.py393 def __init__(self, load_func): argument
394 self.load_func = load_func
397 rv = self.load_func(template)
/external/bcc/examples/networking/
Dsimple_tc.py18 fn = b.load_func("hello", BPF.SCHED_CLS)
Dtc_perf_event.py66 fn = b.load_func("handle_egress", BPF.SCHED_CLS)
/external/bcc/tests/cc/
Dtest_prog_table.cc45 res = bpf2.load_func("hello", BPF_PROG_TYPE_SCHED_CLS, fd);
/external/python/cryptography/tests/hazmat/primitives/
Dtest_x448.py159 passwd, load_func, backend): argument
162 loaded_key = load_func(serialized, passwd, backend)
/external/bcc/src/cc/api/
DBPF.cc174 TRY2(load_func(probe_func, BPF_PROG_TYPE_KPROBE, probe_fd)); in attach_kprobe()
207 TRY2(load_func(probe_func, BPF_PROG_TYPE_KPROBE, probe_fd)); in attach_uprobe()
281 TRY2(load_func(probe_func, BPF_PROG_TYPE_TRACEPOINT, probe_fd)); in attach_tracepoint()
309 TRY2(load_func(probe_func, BPF_PROG_TYPE_PERF_EVENT, probe_fd)); in attach_perf_event()
350 TRY2(load_func(probe_func, BPF_PROG_TYPE_PERF_EVENT, probe_fd)); in attach_perf_event_raw()
532 StatusTuple BPF::load_func(const std::string& func_name, bpf_prog_type type, in load_func() function in ebpf::BPF
/external/bcc/examples/networking/http_filter/
Dhttp-parse-simple.py69 function_http_filter = bpf.load_func("http_filter", BPF.SOCKET_FILTER)
/external/bcc/src/cc/frontends/p4/test/
DtestP4toEbpf.py69 fn = b.load_func("ebpf_filter", BPF.SCHED_CLS)

12