Home
last modified time | relevance | path

Searched refs:event_re (Results 1 – 9 of 9) sorted by relevance

/external/bcc/tests/python/
Dtest_trace4.py25 self.b.attach_kprobe(event_re=b"^" + self.b.get_syscall_prefix() + b"bp.*",
27 self.b.attach_kretprobe(event_re=b"^" + self.b.get_syscall_prefix() + b"bp.*",
41 self.b.attach_kprobe(event_re=b"^tcp_enter_cwr.*", fn_name=b"empty")
Dtest_probe_count.py17 self.b.attach_kprobe(event_re="^vfs_.*", fn_name="wololo")
68 self.b.attach_kprobe(event_re=".*", fn_name="count")
/external/bcc/src/python/bcc/
D__init__.py511 def get_kprobe_functions(event_re): argument
528 if (t.lower() in [b't', b'w']) and re.match(event_re, fn) \
584 def attach_kprobe(self, event=b"", event_off=0, fn_name=b"", event_re=b""): argument
587 event_re = _assert_is_bytes(event_re)
590 if event_re:
591 matches = BPF.get_kprobe_functions(event_re)
609 def attach_kretprobe(self, event=b"", fn_name=b"", event_re=b""): argument
612 event_re = _assert_is_bytes(event_re)
615 if event_re:
616 for line in BPF.get_kprobe_functions(event_re):
/external/bcc/tools/
Dfunclatency.py210 b.attach_kprobe(event_re=pattern, fn_name="trace_func_entry")
211 b.attach_kretprobe(event_re=pattern, fn_name="trace_func_return")
Dvfscount.py35 b.attach_kprobe(event_re="^vfs_.*", fn_name="do_count")
Dstackcount.py92 self.bpf.attach_kprobe(event_re=self.pattern,
/external/bcc/tools/lib/
Ducalls.py264 bpf.attach_kprobe(event_re=syscall_regex, fn_name="syscall_entry")
266 bpf.attach_kretprobe(event_re=syscall_regex, fn_name="syscall_return")
/external/bcc/tools/old/
Dstackcount.py134 b.attach_kprobe(event_re=pattern, fn_name="trace_count")
/external/bcc/docs/
Dreference_guide.md1505 Returns the number of open k[ret]probes. Can be useful for scenarios where event_re is used while a…
1510 b.attach_kprobe(event_re=pattern, fn_name="trace_count")