/external/bcc/tests/cc/ |
D | test_usdt_args.cc | 25 static void verify_register(USDT::ArgumentParser &parser, int arg_size, in verify_register() 27 USDT::Argument arg; in verify_register() 35 static void verify_register(USDT::ArgumentParser &parser, int arg_size, in verify_register() 41 USDT::Argument arg; in verify_register() 58 USDT::ArgumentParser_aarch64 parser("4@[x32,200]"); 60 USDT::ArgumentParser_powerpc64 parser("4@-12(42)"); 62 USDT::ArgumentParser_x64 parser("4@i%ra+1r"); 64 USDT::Argument arg; 75 USDT::ArgumentParser_aarch64 parser("-1@x0 4@5 8@[x12] -4@[x31,-40]"); 81 USDT::ArgumentParser_powerpc64 parser( [all …]
|
D | test_usdt_probes.cc | 39 USDT::Context ctx(getpid()); 61 ebpf::USDT u("/proc/self/exe", "libbcc_test", "sample_probe_1", "on_event"); 75 ebpf::USDT u(::getpid(), "libbcc_test", "sample_probe_1", "on_event"); 151 USDT::Context ctx("ruby"); 229 USDT::Context ctx(ruby.pid());
|
/external/bcc/src/cc/usdt/ |
D | usdt.cc | 33 namespace USDT { namespace 397 USDT::Context *ctx; in bcc_usdt_new_frompid() 400 ctx = new USDT::Context(pid); in bcc_usdt_new_frompid() 410 ctx = new USDT::Context(pid, path); in bcc_usdt_new_frompid() 420 USDT::Context *ctx = new USDT::Context(path); in bcc_usdt_new_frompath() 430 USDT::Context *ctx = static_cast<USDT::Context *>(usdt); in bcc_usdt_close() 437 USDT::Context *ctx = static_cast<USDT::Context *>(usdt); in bcc_usdt_enable_probe() 448 stream << USDT::USDT_PROGRAM_HEADER; in bcc_usdt_genargs() 455 USDT::Context *ctx = static_cast<USDT::Context *>(usdt_array[i]); in bcc_usdt_genargs() 458 USDT::Probe *p = ctx->get(j); in bcc_usdt_genargs() [all …]
|
/external/bcc/src/cc/api/ |
D | BPF.h | 43 class USDT; variable 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); 234 std::vector<USDT> usdt_; 244 class USDT { 246 USDT(const std::string& binary_path, const std::string& provider, 248 USDT(pid_t pid, const std::string& provider, const std::string& name, 250 USDT(const std::string& binary_path, pid_t pid, const std::string& provider, 252 USDT(const USDT& usdt); [all …]
|
D | BPF.cc | 60 const std::vector<USDT>& usdt) { in init() 228 StatusTuple BPF::attach_usdt(const USDT& usdt, pid_t pid) { in attach_usdt() 231 auto& probe = *static_cast<::USDT::Probe*>(u.probe_.get()); in attach_usdt() 414 StatusTuple BPF::detach_usdt(const USDT& usdt, pid_t pid) { in detach_usdt() 417 auto& probe = *static_cast<::USDT::Probe*>(u.probe_.get()); in detach_usdt() 715 USDT::USDT(const std::string& binary_path, const std::string& provider, in USDT() function in ebpf::USDT 724 USDT::USDT(pid_t pid, const std::string& provider, const std::string& name, in USDT() function in ebpf::USDT 733 USDT::USDT(const std::string& binary_path, pid_t pid, in USDT() function in ebpf::USDT 743 USDT::USDT(const USDT& usdt) in USDT() function in ebpf::USDT 751 USDT::USDT(USDT&& usdt) noexcept in USDT() function in ebpf::USDT [all …]
|
/external/bcc/src/lua/bcc/ |
D | run.lua | 60 local USDT = require("bcc.usdt") 64 USDT = USDT, 75 USDT.cleanup()
|
/external/bcc/tools/ |
D | tplist_example.txt | 4 tplist displays kernel tracepoints and USDT probes, including their 8 power events, and many other subjects. USDT probes are placed in libraries 12 For example, suppose you want to discover which USDT probes a particular 91 For debugging USDT probes, it is sometimes useful to see the exact locations 121 Display kernel tracepoints or USDT probes and their formats. 128 -p PID, --pid PID List USDT probes in the specified process 129 -l LIB, --lib LIB List USDT probes in the specified library or executable
|
D | mysqld_qslower.py | 19 from bcc import BPF, USDT 97 u = USDT(pid=pid)
|
D | dbstat.py | 16 from bcc import BPF, USDT 86 usdts = map(lambda pid: USDT(pid=pid), args.pids)
|
D | tplist.py | 16 from bcc import USDT 87 reader = USDT(path=lib, pid=pid)
|
D | dbslower.py | 27 from bcc import BPF, USDT 192 usdts = map(lambda pid: USDT(pid=pid), args.pids)
|
/external/bcc/examples/tracing/ |
D | mysqld_query.py | 14 from bcc import BPF, USDT 42 u = USDT(pid=int(pid))
|
D | nodejs_http_server.py | 12 from bcc import BPF, USDT 35 u = USDT(pid=int(pid))
|
/external/bcc/tools/lib/ |
D | uflow.py | 16 from bcc import BPF, USDT, utils 46 usdt = USDT(pid=args.pid) 117 usdt = USDT(pid=args.pid)
|
D | uthreads.py | 16 from bcc import BPF, USDT, utils 41 usdt = USDT(pid=args.pid)
|
D | uobjnew.py | 16 from bcc import BPF, USDT, utils 71 usdt = USDT(pid=args.pid)
|
D | ugc.py | 16 from bcc import BPF, USDT, utils 47 usdt = USDT(pid=args.pid)
|
/external/bcc/tests/python/ |
D | test_usdt2.py | 9 from bcc import BPF, USDT 99 u = USDT(pid=int(self.app.pid)) 102 u2 = USDT(pid=int(self.app2.pid))
|
D | test_usdt3.py | 9 from bcc import BPF, USDT 112 u = USDT(pid=int(self.app.pid))
|
D | test_usdt.py | 9 from bcc import BPF, USDT 144 u = USDT(pid=int(self.app.pid))
|
/external/bcc/examples/usdt_sample/scripts/ |
D | lat_dist.py | 6 from bcc import BPF, USDT 83 usdt_ctx = USDT(pid=this_pid)
|
D | lat_avg.py | 6 from bcc import BPF, USDT 108 usdt_ctx = USDT(pid=this_pid)
|
D | latency.py | 6 from bcc import BPF, USDT 85 usdt_ctx = USDT(pid=this_pid)
|
/external/bcc/src/cc/includes/ |
D | usdt.h | 31 class USDT; variable 34 namespace USDT { 238 friend class ::ebpf::USDT; 284 friend class ::ebpf::USDT;
|
/external/bcc/src/cc/ |
D | usdt.h | 31 class USDT; variable 34 namespace USDT { 238 friend class ::ebpf::USDT; 284 friend class ::ebpf::USDT;
|