HomeSort by relevance Sort by last modified time
    Searched refs:bpf_code (Results 1 - 2 of 2) sorted by null

  /external/bcc/tests/python/
test_percpu.py 37 bpf_code = BPF(text=test_prog1)
38 stats_map = bpf_code.get_table("stats")
39 event_name = bpf_code.get_syscall_fnname("clone")
40 bpf_code.attach_kprobe(event=event_name, fn_name="hello_world")
54 bpf_code.detach_kprobe(event_name)
67 bpf_code = BPF(text=test_prog1)
68 stats_map = bpf_code.get_table("stats")
69 event_name = bpf_code.get_syscall_fnname("clone")
70 bpf_code.attach_kprobe(event=event_name, fn_name="hello_world")
84 bpf_code.detach_kprobe(event_name
    [all...]
test_license.py 56 def load_bpf_code(self, bpf_code):
57 event_name = bpf_code.get_syscall_fnname("read")
58 bpf_code.attach_kprobe(event=event_name, fn_name="license_program")
59 bpf_code.detach_kprobe(event=event_name)

Completed in 123 milliseconds