/external/bcc/tools/ |
D | zfsdist.py | 141 b.attach_kprobe(event="zpl_iter_read", fn_name="trace_entry") 142 b.attach_kprobe(event="zpl_iter_write", fn_name="trace_entry") 144 b.attach_kprobe(event="zpl_aio_read", fn_name="trace_entry") 145 b.attach_kprobe(event="zpl_aio_write", fn_name="trace_entry") 147 b.attach_kprobe(event="zpl_read", fn_name="trace_entry") 148 b.attach_kprobe(event="zpl_write", fn_name="trace_entry") 149 b.attach_kprobe(event="zpl_open", fn_name="trace_entry") 150 b.attach_kprobe(event="zpl_fsync", fn_name="trace_entry") 152 b.attach_kretprobe(event="zpl_iter_read", fn_name="trace_read_return") 153 b.attach_kretprobe(event="zpl_iter_write", fn_name="trace_write_return") [all …]
|
D | zfsslower.py | 282 b.attach_kprobe(event="zpl_iter_read", fn_name="trace_rw_entry") 283 b.attach_kprobe(event="zpl_iter_write", fn_name="trace_rw_entry") 285 b.attach_kprobe(event="zpl_aio_read", fn_name="trace_rw_entry") 286 b.attach_kprobe(event="zpl_aio_write", fn_name="trace_rw_entry") 288 b.attach_kprobe(event="zpl_read", fn_name="trace_rw_entry") 289 b.attach_kprobe(event="zpl_write", fn_name="trace_rw_entry") 290 b.attach_kprobe(event="zpl_open", fn_name="trace_open_entry") 291 b.attach_kprobe(event="zpl_fsync", fn_name="trace_fsync_entry") 293 b.attach_kretprobe(event="zpl_iter_read", fn_name="trace_read_return") 294 b.attach_kretprobe(event="zpl_iter_write", fn_name="trace_write_return") [all …]
|
D | nfsdist.py | 138 b.attach_kprobe(event="nfs_file_read", fn_name="trace_entry") 139 b.attach_kprobe(event="nfs_file_write", fn_name="trace_entry") 140 b.attach_kprobe(event="nfs4_file_open", fn_name="trace_entry") 141 b.attach_kprobe(event="nfs_file_open", fn_name="trace_entry") 142 b.attach_kprobe(event="nfs_getattr", fn_name="trace_entry") 144 b.attach_kretprobe(event="nfs_file_read", fn_name="trace_read_return") 145 b.attach_kretprobe(event="nfs_file_write", fn_name="trace_write_return") 146 b.attach_kretprobe(event="nfs4_file_open", fn_name="trace_open_return") 147 b.attach_kretprobe(event="nfs_file_open", fn_name="trace_open_return") 148 b.attach_kretprobe(event="nfs_getattr", fn_name="trace_getattr_return")
|
D | sslsniff.py | 140 b.attach_uprobe(name="ssl", sym="SSL_write", fn_name="probe_SSL_write", 142 b.attach_uprobe(name="ssl", sym="SSL_read", fn_name="probe_SSL_read_enter", 145 fn_name="probe_SSL_read_exit", pid=args.pid or -1) 149 fn_name="probe_SSL_write", pid=args.pid or -1) 151 fn_name="probe_SSL_read_enter", pid=args.pid or -1) 153 fn_name="probe_SSL_read_exit", pid=args.pid or -1) 156 b.attach_uprobe(name="nspr4", sym="PR_Write", fn_name="probe_SSL_write", 158 b.attach_uprobe(name="nspr4", sym="PR_Send", fn_name="probe_SSL_write", 160 b.attach_uprobe(name="nspr4", sym="PR_Read", fn_name="probe_SSL_read_enter", 163 fn_name="probe_SSL_read_exit", pid=args.pid or -1) [all …]
|
D | nfsslower.py | 296 b.attach_kprobe(event="nfs_file_read", fn_name="trace_rw_entry") 297 b.attach_kprobe(event="nfs_file_write", fn_name="trace_rw_entry") 298 b.attach_kprobe(event="nfs4_file_open", fn_name="trace_file_open_entry") 299 b.attach_kprobe(event="nfs_file_open", fn_name="trace_file_open_entry") 300 b.attach_kprobe(event="nfs_getattr", fn_name="trace_getattr_entry") 302 b.attach_kretprobe(event="nfs_file_read", fn_name="trace_read_return") 303 b.attach_kretprobe(event="nfs_file_write", fn_name="trace_write_return") 304 b.attach_kretprobe(event="nfs4_file_open", fn_name="trace_file_open_return") 305 b.attach_kretprobe(event="nfs_file_open", fn_name="trace_file_open_return") 306 b.attach_kretprobe(event="nfs_getattr", fn_name="trace_getattr_return")
|
D | ext4slower.py | 331 b.attach_kprobe(event="ext4_file_read_iter", fn_name="trace_read_entry") 333 b.attach_kprobe(event="generic_file_read_iter", fn_name="trace_read_entry") 334 b.attach_kprobe(event="ext4_file_write_iter", fn_name="trace_write_entry") 335 b.attach_kprobe(event="ext4_file_open", fn_name="trace_open_entry") 336 b.attach_kprobe(event="ext4_sync_file", fn_name="trace_fsync_entry") 338 b.attach_kretprobe(event="ext4_file_read_iter", fn_name="trace_read_return") 340 b.attach_kretprobe(event="generic_file_read_iter", fn_name="trace_read_return") 341 b.attach_kretprobe(event="ext4_file_write_iter", fn_name="trace_write_return") 342 b.attach_kretprobe(event="ext4_file_open", fn_name="trace_open_return") 343 b.attach_kretprobe(event="ext4_sync_file", fn_name="trace_fsync_return")
|
D | ext4dist.py | 190 b.attach_kprobe(event="ext4_file_read_iter", fn_name="trace_entry") 192 b.attach_kprobe(event="generic_file_read_iter", fn_name="trace_read_entry") 193 b.attach_kprobe(event="ext4_file_write_iter", fn_name="trace_entry") 194 b.attach_kprobe(event="ext4_file_open", fn_name="trace_entry") 195 b.attach_kprobe(event="ext4_sync_file", fn_name="trace_entry") 196 b.attach_kretprobe(event="generic_file_read_iter", fn_name="trace_read_return") 197 b.attach_kretprobe(event="ext4_file_write_iter", fn_name="trace_write_return") 198 b.attach_kretprobe(event="ext4_file_open", fn_name="trace_open_return") 199 b.attach_kretprobe(event="ext4_sync_file", fn_name="trace_fsync_return")
|
D | xfsdist.py | 140 b.attach_kprobe(event="xfs_file_read_iter", fn_name="trace_entry") 141 b.attach_kprobe(event="xfs_file_write_iter", fn_name="trace_entry") 142 b.attach_kprobe(event="xfs_file_open", fn_name="trace_entry") 143 b.attach_kprobe(event="xfs_file_fsync", fn_name="trace_entry") 144 b.attach_kretprobe(event="xfs_file_read_iter", fn_name="trace_read_return") 145 b.attach_kretprobe(event="xfs_file_write_iter", fn_name="trace_write_return") 146 b.attach_kretprobe(event="xfs_file_open", fn_name="trace_open_return") 147 b.attach_kretprobe(event="xfs_file_fsync", fn_name="trace_fsync_return")
|
D | btrfsdist.py | 197 b.attach_kprobe(event="generic_file_read_iter", fn_name="trace_read_entry") 198 b.attach_kprobe(event="btrfs_file_write_iter", fn_name="trace_entry") 199 b.attach_kprobe(event="generic_file_open", fn_name="trace_open_entry") 200 b.attach_kprobe(event="btrfs_sync_file", fn_name="trace_entry") 201 b.attach_kretprobe(event="generic_file_read_iter", fn_name="trace_read_return") 202 b.attach_kretprobe(event="btrfs_file_write_iter", fn_name="trace_write_return") 203 b.attach_kretprobe(event="generic_file_open", fn_name="trace_open_return") 204 b.attach_kretprobe(event="btrfs_sync_file", fn_name="trace_fsync_return")
|
D | xfsslower.py | 283 b.attach_kprobe(event="xfs_file_read_iter", fn_name="trace_rw_entry") 284 b.attach_kprobe(event="xfs_file_write_iter", fn_name="trace_rw_entry") 285 b.attach_kprobe(event="xfs_file_open", fn_name="trace_open_entry") 286 b.attach_kprobe(event="xfs_file_fsync", fn_name="trace_fsync_entry") 287 b.attach_kretprobe(event="xfs_file_read_iter", fn_name="trace_read_return") 288 b.attach_kretprobe(event="xfs_file_write_iter", fn_name="trace_write_return") 289 b.attach_kretprobe(event="xfs_file_open", fn_name="trace_open_return") 290 b.attach_kretprobe(event="xfs_file_fsync", fn_name="trace_fsync_return")
|
D | btrfsslower.py | 332 b.attach_kprobe(event="generic_file_read_iter", fn_name="trace_read_entry") 333 b.attach_kprobe(event="btrfs_file_write_iter", fn_name="trace_write_entry") 334 b.attach_kprobe(event="generic_file_open", fn_name="trace_open_entry") 335 b.attach_kprobe(event="btrfs_sync_file", fn_name="trace_fsync_entry") 336 b.attach_kretprobe(event="generic_file_read_iter", fn_name="trace_read_return") 337 b.attach_kretprobe(event="btrfs_file_write_iter", fn_name="trace_write_return") 338 b.attach_kretprobe(event="generic_file_open", fn_name="trace_open_return") 339 b.attach_kretprobe(event="btrfs_sync_file", fn_name="trace_fsync_return")
|
D | gethostlatency.py | 104 b.attach_uprobe(name="c", sym="getaddrinfo", fn_name="do_entry", pid=args.pid) 105 b.attach_uprobe(name="c", sym="gethostbyname", fn_name="do_entry", 107 b.attach_uprobe(name="c", sym="gethostbyname2", fn_name="do_entry", 109 b.attach_uretprobe(name="c", sym="getaddrinfo", fn_name="do_return", 111 b.attach_uretprobe(name="c", sym="gethostbyname", fn_name="do_return", 113 b.attach_uretprobe(name="c", sym="gethostbyname2", fn_name="do_return",
|
D | vfsstat.py | 65 b.attach_kprobe(event="vfs_read", fn_name="do_read") 66 b.attach_kprobe(event="vfs_write", fn_name="do_write") 67 b.attach_kprobe(event="vfs_fsync", fn_name="do_fsync") 68 b.attach_kprobe(event="vfs_open", fn_name="do_open") 69 b.attach_kprobe(event="vfs_create", fn_name="do_create")
|
D | fileslower.py | 203 b.attach_kprobe(event="__vfs_read", fn_name="trace_read_entry") 204 b.attach_kretprobe(event="__vfs_read", fn_name="trace_read_return") 206 b.attach_kprobe(event="__vfs_write", fn_name="trace_write_entry") 207 b.attach_kretprobe(event="__vfs_write", fn_name="trace_write_return") 210 b.attach_kprobe(event="vfs_write", fn_name="trace_write_entry") 211 b.attach_kretprobe(event="vfs_write", fn_name="trace_write_return")
|
D | statsnoop.py | 119 b.attach_kprobe(event=syscall_fnname, fn_name="syscall__entry") 120 b.attach_kretprobe(event=syscall_fnname, fn_name="trace_return") 124 b.attach_kprobe(event=syscall_fnname, fn_name="syscall__entry") 125 b.attach_kretprobe(event=syscall_fnname, fn_name="trace_return") 129 b.attach_kprobe(event=syscall_fnname, fn_name="syscall__entry") 130 b.attach_kretprobe(event=syscall_fnname, fn_name="trace_return")
|
D | tcptracer.py | 625 b.attach_kprobe(event="tcp_v4_connect", fn_name="trace_connect_v4_entry") 626 b.attach_kretprobe(event="tcp_v4_connect", fn_name="trace_connect_v4_return") 627 b.attach_kprobe(event="tcp_v6_connect", fn_name="trace_connect_v6_entry") 628 b.attach_kretprobe(event="tcp_v6_connect", fn_name="trace_connect_v6_return") 629 b.attach_kprobe(event="tcp_set_state", fn_name="trace_tcp_set_state_entry") 630 b.attach_kprobe(event="tcp_close", fn_name="trace_close_entry") 631 b.attach_kretprobe(event="inet_csk_accept", fn_name="trace_accept_return")
|
/external/bcc/src/lua/bcc/ |
D | bpf.lua | 157 function Bpf:load_func(fn_name, prog_type) 158 if self.funcs[fn_name] ~= nil then 159 return self.funcs[fn_name] 162 assert(libbcc.bpf_function_start(self.module, fn_name) ~= nil, 163 "unknown program: "..fn_name) 166 fn_name, 167 libbcc.bpf_function_start(self.module, fn_name), 168 libbcc.bpf_function_size(self.module, fn_name), 173 assert(fd >= 0, "failed to load BPF program "..fn_name) 174 log.info("loaded %s (%d)", fn_name, fd) [all …]
|
D | usdt.lua | 44 assert(args.probe and args.fn_name) 46 self.context, args.probe, args.fn_name) == 0) 63 function(binpath, fn_name, addr, pid) 65 addr=addr, fn_name=ffi.string(fn_name), pid=pid})
|
/external/bcc/tools/old/ |
D | gethostlatency.py | 58 b.attach_uprobe(name="c", sym="getaddrinfo", fn_name="do_entry") 59 b.attach_uprobe(name="c", sym="gethostbyname", fn_name="do_entry") 60 b.attach_uprobe(name="c", sym="gethostbyname2", fn_name="do_entry") 61 b.attach_uretprobe(name="c", sym="getaddrinfo", fn_name="do_return") 62 b.attach_uretprobe(name="c", sym="gethostbyname", fn_name="do_return") 63 b.attach_uretprobe(name="c", sym="gethostbyname2", fn_name="do_return")
|
D | statsnoop.py | 82 b.attach_kprobe(event="sys_stat", fn_name="trace_entry") 83 b.attach_kprobe(event="sys_statfs", fn_name="trace_entry") 84 b.attach_kprobe(event="sys_newstat", fn_name="trace_entry") 85 b.attach_kretprobe(event="sys_stat", fn_name="trace_return") 86 b.attach_kretprobe(event="sys_statfs", fn_name="trace_return") 87 b.attach_kretprobe(event="sys_newstat", fn_name="trace_return")
|
D | biosnoop.py | 98 b.attach_kprobe(event="blk_account_io_start", fn_name="trace_pid_start") 99 b.attach_kprobe(event="blk_start_request", fn_name="trace_req_start") 100 b.attach_kprobe(event="blk_mq_start_request", fn_name="trace_req_start") 102 fn_name="trace_req_completion")
|
/external/bcc/src/python/bcc/ |
D | __init__.py | 584 def attach_kprobe(self, event=b"", event_off=0, fn_name=b"", event_re=b""): argument 586 fn_name = _assert_is_bytes(fn_name) 595 self.attach_kprobe(event=line, fn_name=fn_name) 601 fn = self.load_func(fn_name, BPF.KPROBE) 609 def attach_kretprobe(self, event=b"", fn_name=b"", event_re=b""): argument 611 fn_name = _assert_is_bytes(fn_name) 618 self.attach_kretprobe(event=line, fn_name=fn_name) 624 fn = self.load_func(fn_name, BPF.KPROBE) 736 def attach_tracepoint(self, tp=b"", tp_re=b"", fn_name=b""): argument 759 fn_name = _assert_is_bytes(fn_name) [all …]
|
D | usdt.py | 148 def enable_probe(self, probe, fn_name): argument 150 fn_name.encode('ascii')) != 0: 157 def enable_probe_or_bail(self, probe, fn_name): argument 159 fn_name.encode('ascii')) != 0: 192 for (binpath, fn_name, addr, pid) in probes: 193 bpf.attach_uprobe(name=binpath.decode(), fn_name=fn_name.decode(), 198 def _add_probe(binpath, fn_name, addr, pid): argument 199 probes.append((binpath, fn_name, addr, pid))
|
/external/tensorflow/tensorflow/c/ |
D | c_api_function.cc | 161 const string& fn_name, const NodeNameMapping& node_names, in FillFunctionBody() argument 224 node->name(), "' in function '", fn_name, in FillFunctionBody() 242 fn_name, "'"); in FillFunctionBody() 299 Status GraphToFunctionDef(const Graph& fn_body, const string& fn_name, in GraphToFunctionDef() argument 393 FillFunctionBody(fn_name, node_names, body_nodes, tensor_renaming, fdef)); in GraphToFunctionDef() 407 fn_name, "'"); in GraphToFunctionDef() 425 fdef->mutable_signature()->set_name(strings::StrCat(fn_name, "_", encoded)); in GraphToFunctionDef() 427 fdef->mutable_signature()->set_name(fn_name); in GraphToFunctionDef() 461 const TF_Graph* fn_body, const char* fn_name, int ninputs, in ProcessInputs() argument 472 "Encountered while processing input ", i, " into function '", fn_name, in ProcessInputs() [all …]
|
/external/bcc/tests/python/ |
D | test_probe_count.py | 17 self.b.attach_kprobe(event_re="^vfs_.*", fn_name="wololo") 38 self.b1.attach_kprobe(event="schedule", fn_name="count") 39 self.b2.attach_kprobe(event="submit_bio", fn_name="count") 68 self.b.attach_kprobe(event_re=".*", fn_name="count") 72 self.b.attach_uprobe(name="c", sym_re=".*", fn_name="count") 84 b.attach_kprobe(event="___doesnotexist", fn_name="count")
|