/external/bcc/tools/lib/ |
D | uobjnew.py | 71 usdt = USDT(pid=args.pid) variable 106 usdt.enable_probe_or_bail("object__alloc", "alloc_entry") 135 usdt.enable_probe_or_bail("object__create", "object_alloc_entry") 138 usdt.enable_probe_or_bail("%s__create" % thing, 153 usdt.enable_probe_or_bail("obj__create", "alloc_entry") 161 print(usdt.get_text()) 166 bpf = BPF(text=program, usdt_contexts=[usdt])
|
D | uthreads.py | 41 usdt = USDT(pid=args.pid) variable 65 usdt.enable_probe_or_bail("pthread_start", "trace_pthread") 93 usdt.enable_probe_or_bail("thread__start", "trace_start") 94 usdt.enable_probe_or_bail("thread__stop", "trace_stop") 98 print(usdt.get_text()) 103 bpf = BPF(text=program, usdt_contexts=[usdt])
|
D | ucalls.py | 247 usdt = USDT(pid=args.pid) variable 248 usdt.enable_probe_or_bail(entry_probe, "trace_entry") 250 usdt.enable_probe_or_bail(return_probe, "trace_return") 252 usdt = None variable 255 if args.verbose and usdt: 256 print(usdt.get_text()) 261 bpf = BPF(text=program, usdt_contexts=[usdt] if usdt else [])
|
D | uflow.py | 46 usdt = USDT(pid=args.pid) variable 101 global program, trace_template, usdt 115 usdt.enable_probe_or_bail(probe_name, func_name) 117 usdt = USDT(pid=args.pid) variable 177 print(usdt.get_text()) 182 bpf = BPF(text=program, usdt_contexts=[usdt])
|
D | ugc.py | 47 usdt = USDT(pid=args.pid) variable 111 usdt.enable_probe_or_bail(self.begin, "trace_%s" % self.begin) 112 usdt.enable_probe_or_bail(self.end, "trace_%s" % self.end) 211 print(usdt.get_text()) 216 bpf = BPF(text=program, usdt_contexts=[usdt])
|
D | ustat.py | 65 usdt = USDT(pid=pid) 68 usdt.enable_probe(event, "%s_%s" % (self.language, event)) 76 self.usdts.append(usdt) 214 usdts = [usdt for probe in self.probes for usdt in probe.get_usdts()] 222 uprobes = set([(path, func, addr) for usdt in usdts 224 in usdt.enumerate_active_probes()])
|
/external/bcc/src/cc/ |
D | bcc_usdt.h | 27 void bcc_usdt_close(void *usdt); 63 void bcc_usdt_foreach(void *usdt, bcc_usdt_cb callback); 64 int bcc_usdt_get_location(void *usdt, const char *provider_name, 67 int bcc_usdt_get_argument(void *usdt, const char *provider_name, 79 void bcc_usdt_foreach_uprobe(void *usdt, bcc_usdt_uprobe_cb callback);
|
D | CMakeLists.txt | 51 set(bcc_usdt_sources usdt/usdt.cc usdt/usdt_args.cc) 85 add_subdirectory(usdt) 86 list(APPEND bcc_common_libs_for_a usdt-static) 87 list(APPEND bcc_common_libs_for_s usdt-static) 88 list(APPEND bcc_common_libs_for_lua usdt-static)
|
/external/bcc/src/cc/includes/ |
D | bcc_usdt.h | 27 void bcc_usdt_close(void *usdt); 63 void bcc_usdt_foreach(void *usdt, bcc_usdt_cb callback); 64 int bcc_usdt_get_location(void *usdt, const char *provider_name, 67 int bcc_usdt_get_argument(void *usdt, const char *provider_name, 79 void bcc_usdt_foreach_uprobe(void *usdt, bcc_usdt_uprobe_cb callback);
|
/external/bcc/src/cc/api/ |
D | BPF.h | 55 const std::vector<USDT>& usdt = {}); 78 StatusTuple attach_usdt(const USDT& usdt, pid_t pid = -1); 79 StatusTuple detach_usdt(const USDT& usdt, pid_t pid = -1); 250 USDT(const USDT& usdt); 251 USDT(USDT&& usdt) noexcept; 262 friend std::ostream& operator<<(std::ostream& out, const USDT& usdt) { 263 return out << usdt.provider_ << ":" << usdt.name_ << " from binary " 264 << usdt.binary_path_ << " PID " << usdt.pid_ << " for probe " 265 << usdt.probe_func_;
|
D | BPF.cc | 59 const std::vector<USDT>& usdt) { in init() argument 62 usdt_.reserve(usdt.size()); in init() 63 for (const auto& u : usdt) { in init() 227 StatusTuple BPF::attach_usdt(const USDT& usdt, pid_t pid) { in attach_usdt() argument 229 if (u == usdt) { in attach_usdt() 264 return StatusTuple(-1, "USDT %s not found", usdt.print_name().c_str()); in attach_usdt() 413 StatusTuple BPF::detach_usdt(const USDT& usdt, pid_t pid) { in detach_usdt() argument 415 if (u == usdt) { in detach_usdt() 442 return StatusTuple(-1, "USDT %s not found", usdt.print_name().c_str()); in detach_usdt() 738 USDT::USDT(const USDT& usdt) in USDT() argument [all …]
|
/external/bcc/src/cc/usdt/ |
D | usdt.cc | 428 void bcc_usdt_close(void *usdt) { in bcc_usdt_close() argument 429 if (usdt) { in bcc_usdt_close() 430 USDT::Context *ctx = static_cast<USDT::Context *>(usdt); in bcc_usdt_close() 435 int bcc_usdt_enable_probe(void *usdt, const char *probe_name, in bcc_usdt_enable_probe() argument 437 USDT::Context *ctx = static_cast<USDT::Context *>(usdt); in bcc_usdt_enable_probe() 484 void bcc_usdt_foreach(void *usdt, bcc_usdt_cb callback) { in bcc_usdt_foreach() argument 485 USDT::Context *ctx = static_cast<USDT::Context *>(usdt); in bcc_usdt_foreach() 489 int bcc_usdt_get_location(void *usdt, const char *provider_name, in bcc_usdt_get_location() argument 492 USDT::Context *ctx = static_cast<USDT::Context *>(usdt); in bcc_usdt_get_location() 503 int bcc_usdt_get_argument(void *usdt, const char *provider_name, in bcc_usdt_get_argument() argument [all …]
|
D | CMakeLists.txt | 1 add_library(usdt-static STATIC usdt_args.cc usdt.cc)
|
/external/bcc/examples/usdt_sample/usdt_sample_lib1/ |
D | CMakeLists.txt | 13 # Create usdt header file. 20 # COMMENT "Create usdt probes header file" 23 # Create usdt object file. 29 # COMMENT "Create usdt probes object file"
|
/external/bcc/tools/ |
D | funccount.py | 118 self.usdt = None 148 self.usdt = USDT(path=self.library, pid=self.pid) 150 for probe in self.usdt.enumerate_probes(): 159 self.usdt.enable_probe(match, new_func) 161 print(self.usdt.get_text()) 202 usdt_contexts=[self.usdt] if self.usdt else [])
|
D | stackcount.py | 176 self.usdt = None 178 self.usdt = USDT(path=self.library, pid=self.pid) 179 for probe in self.usdt.enumerate_probes(): 191 self.usdt.enable_probe(probe.name, new_func) 194 print(self.usdt.get_text()) 201 usdt_contexts=[self.usdt] if self.usdt else [])
|
D | dbstat.py | 87 for usdt in usdts: 88 usdt.enable_probe("query__start", "probe_start") 89 usdt.enable_probe("query__done", "probe_end")
|
D | dbslower.py | 193 for usdt in usdts: 194 usdt.enable_probe("query__start", "query_start") 195 usdt.enable_probe("query__done", "query_end")
|
D | trace.py | 54 self.usdt = None 172 self.usdt = USDT(path=self.library, pid=target) 173 for probe in self.usdt.enumerate_probes(): 388 arg_ctype = self.usdt.get_probe_arg_ctype( 414 arg_ctype = self.usdt.get_probe_arg_ctype( 750 if probe.usdt: 754 probe.usdt.enable_probe( 757 print(probe.usdt.get_text()) 758 usdt_contexts.append(probe.usdt)
|
/external/bcc/src/lua/bcc/ |
D | bpf.lua | 112 if args.usdt and args.text then 113 args.text = args.usdt:_get_text() .. args.text 138 if args.usdt then 139 args.usdt:_attach_uprobes(self)
|
/external/bcc/src/lua/ |
D | squishy | 14 Module "bcc.usdt" "bcc/usdt.lua"
|
/external/bcc/examples/lua/ |
D | usdt_ruby.lua | 41 local b = BPF:new{text=program, usdt=u}
|
/external/bcc/src/python/ |
D | CMakeLists.txt | 4 set(PYTHON_SRC __init__.py perf.py tcp.py utils.py libbcc.py table.py usdt.py)
|
/external/bcc/ |
D | LINKS.md | 20 …c/BPF Node.js USDT Tracing](http://www.brendangregg.com/blog/2016-10-12/linux-bcc-nodejs-usdt.html) 34 - 2016-03-30: [USDT Probe Support in BPF/BCC](http://blogs.microsoft.co.il/sasha/2016/03/30/usdt-pr…
|
/external/bcc/examples/usdt_sample/ |
D | usdt_sample.md | 52 Start the usdt sample application:
|