• Home
  • Raw
  • Download

Lines Matching refs:BPF

5 from bcc import BPF
40 b = BPF(src_file="test_clang_complex.c", debug=0)
41 fn = b.load_func("handle_packet", BPF.SCHED_CLS)
53 b = BPF(text=text, debug=0)
54 fn = b.load_func("handle_packet", BPF.SCHED_CLS)
65 b = BPF(text=text, debug=0)
66 fn = b.load_func("count_sched", BPF.KPROBE)
76 b = BPF(text=text, debug=0)
77 fn = b.load_func("count_foo", BPF.KPROBE)
88 b = BPF(text=text)
89 fn = b.load_func("count_tcp", BPF.KPROBE)
100 b = BPF(text=text)
101 fn = b.load_func("test", BPF.KPROBE)
118 b = BPF(text=text)
119 fn = b.load_func("count_tcp", BPF.KPROBE)
136 b = BPF(text=text)
137 fn = b.load_func("count_tcp", BPF.KPROBE)
158 b = BPF(text=text, debug=0)
159 fns = b.load_funcs(BPF.KPROBE)
168 b = BPF(text=text, debug=0)
169 fn = b.load_func("foo", BPF.KPROBE)
186 b = BPF(text=text, debug=0)
211 b = BPF(text=text)
248 b = BPF(text=text, debug=0)
249 fn = b.load_func("do_request", BPF.KPROBE)
260 b = BPF(text=text, debug=0)
261 fn = b.load_func("do_request", BPF.KPROBE)
269 b = BPF(text=text, debug=0)
290 b = BPF(text=text, debug=0)
291 fn = b.load_func("trace_entry", BPF.KPROBE)
303 b = BPF(text=text, debug=0)
304 fn = b.load_func("trace_entry", BPF.KPROBE)
316 b = BPF(text=text)
317 fn = b.load_func("test", BPF.KPROBE)
320 BPF(text="""#include <linux/blkdev.h>
327 b = BPF(text="""
346 fn = b.load_func("trace_entry1", BPF.KPROBE)
347 fn = b.load_func("trace_entry2", BPF.KPROBE)
359 b = BPF(text=text)
364 b = BPF(text = """
385 b = BPF(text="""
406 b = BPF(text="""
420 b = BPF(text="""
430 b.load_func("test", BPF.KPROBE)
433 b = BPF(text="""
443 b.load_func("test", BPF.KPROBE)
446 b = BPF(text="""
456 b.load_func("test", BPF.KPROBE)
469 b = BPF(text=text)
470 fn = b.load_func("trace_entry", BPF.KPROBE)
482 b = BPF(text=text)
483 fn = b.load_func("test", BPF.KPROBE)
497 b = BPF(text=text)
498 fn = b.load_func("test", BPF.KPROBE)
515 b = BPF(text=text)
516 fn = b.load_func("test", BPF.KPROBE)
526 b = BPF(text=text)
527 fn = b.load_func("test", BPF.KPROBE)
540 b = BPF(text=text)
541 fn = b.load_func("test", BPF.KPROBE)
553 b = BPF(text=text)
554 fn = b.load_func("test", BPF.KPROBE)
564 b = BPF(text=text)
565 fn = b.load_func("trace_entry", BPF.KPROBE)
587 b = BPF(text=text)
596 b = BPF(text=text, cflags=["-DMYFLAG"])
599 b1 = BPF(text="""BPF_TABLE_PUBLIC("hash", int, int, table1, 10);""")
600 b2 = BPF(text="""BPF_TABLE("extern", int, int, table1, 10);""")
605 b = BPF(text="""int failure(void *ctx) { if (); return 0; }""")
611 b = BPF(text=text)
623 b = BPF(text=text)
641 b = BPF(text=text)
661 b = BPF(text=text)
691 b = BPF(text=bpf_text)
692 b.load_func("trace_entry", BPF.KPROBE)
693 b.load_func("trace_exit", BPF.KPROBE)
720 b = BPF(text=bpf_text)
721 b.load_func("trace_entry", BPF.KPROBE)
722 b.load_func("trace_exit", BPF.KPROBE)
749 b = BPF(text=bpf_text)
750 b.load_func("trace_entry", BPF.KPROBE)
751 b.load_func("trace_exit", BPF.KPROBE)
779 b = BPF(text=bpf_text)
780 b.load_func("trace_entry", BPF.KPROBE)
781 b.load_func("trace_exit", BPF.KPROBE)
797 b = BPF(text=text)
808 b = BPF(text=text)
809 fn = b.load_func("test", BPF.KPROBE)
819 b = BPF(text=text)
832 BPF(text=text)
849 BPF(text=text)
867 BPF(text=text)
884 b = BPF(text=text)
898 b1 = BPF(text=text)
904 b2 = BPF(text=text)
905 fn = b2.load_func("do_next", BPF.KPROBE)
922 b = BPF(text=text)
932 b = BPF(text=text)
944 b = BPF(text=text)
950 b = BPF(text=text)
983 b = BPF(text=text)
997 b = BPF(text=text)
1009 b = BPF(text=text)
1010 fn = b.load_func("test", BPF.KPROBE)
1021 b = BPF(text=text)
1022 fn = b.load_func("test", BPF.KPROBE)
1040 b = BPF(text=text)
1041 fn = b.load_func("test", BPF.SCHED_CLS)
1056 b = BPF(text=text)
1057 fn = b.load_func("test", BPF.KPROBE)
1077 b = BPF(text=text)
1078 fn = b.load_func("test", BPF.KPROBE)
1093 b = BPF(text=text)
1094 fn = b.load_func("test", BPF.KPROBE)
1108 b = BPF(text=text)
1109 fn = b.load_func("test", BPF.KPROBE)
1126 b = BPF(text=text)
1127 fn = b.load_func("test", BPF.KPROBE)
1137 b = BPF(text=text)
1138 fn = b.load_func("test", BPF.KPROBE)
1148 b = BPF(text=text)
1149 fn = b.load_func("test", BPF.KPROBE)
1159 b = BPF(text=text)
1160 fn = b.load_func("test", BPF.KPROBE)
1169 b = BPF(text=text)
1170 fn = b.load_func("test", BPF.KPROBE)
1179 b = BPF(text=text)
1180 fn = b.load_func("test", BPF.KPROBE)
1192 b = BPF(text=text)
1193 fn = b.load_func("test", BPF.KPROBE)
1202 b = BPF(text=text)
1203 fn = b.load_func("test", BPF.KPROBE)
1212 b = BPF(text=text)
1213 fn = b.load_func("test", BPF.KPROBE)
1216 b = BPF(text=b"""
1230 b = BPF(text=b"""