Home
last modified time | relevance | path

Searched refs:event_re (Results 1 – 8 of 8) 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__.py513 def get_kprobe_functions(event_re): argument
553 if (t.lower() in [b't', b'w']) and re.match(event_re, fn) \
609 def attach_kprobe(self, event=b"", event_off=0, fn_name=b"", event_re=b""): argument
612 event_re = _assert_is_bytes(event_re)
615 if event_re:
616 matches = BPF.get_kprobe_functions(event_re)
635 def attach_kretprobe(self, event=b"", fn_name=b"", event_re=b""): argument
638 event_re = _assert_is_bytes(event_re)
641 if event_re:
642 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/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")