Home
last modified time | relevance | path

Searched refs:USDT (Results 1 – 25 of 53) sorted by relevance

123

/external/bcc/tests/cc/
Dtest_usdt_args.cc25 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 …]
Dtest_usdt_probes.cc39 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/
Dusdt.cc33 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/
DBPF.h43 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 …]
DBPF.cc60 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/
Drun.lua60 local USDT = require("bcc.usdt")
64 USDT = USDT,
75 USDT.cleanup()
/external/bcc/tools/
Dtplist_example.txt4 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
Dmysqld_qslower.py19 from bcc import BPF, USDT
97 u = USDT(pid=pid)
Ddbstat.py16 from bcc import BPF, USDT
86 usdts = map(lambda pid: USDT(pid=pid), args.pids)
Dtplist.py16 from bcc import USDT
87 reader = USDT(path=lib, pid=pid)
Ddbslower.py27 from bcc import BPF, USDT
192 usdts = map(lambda pid: USDT(pid=pid), args.pids)
/external/bcc/examples/tracing/
Dmysqld_query.py14 from bcc import BPF, USDT
42 u = USDT(pid=int(pid))
Dnodejs_http_server.py12 from bcc import BPF, USDT
35 u = USDT(pid=int(pid))
/external/bcc/tools/lib/
Duflow.py16 from bcc import BPF, USDT, utils
46 usdt = USDT(pid=args.pid)
117 usdt = USDT(pid=args.pid)
Duthreads.py16 from bcc import BPF, USDT, utils
41 usdt = USDT(pid=args.pid)
Duobjnew.py16 from bcc import BPF, USDT, utils
71 usdt = USDT(pid=args.pid)
Dugc.py16 from bcc import BPF, USDT, utils
47 usdt = USDT(pid=args.pid)
/external/bcc/tests/python/
Dtest_usdt2.py9 from bcc import BPF, USDT
99 u = USDT(pid=int(self.app.pid))
102 u2 = USDT(pid=int(self.app2.pid))
Dtest_usdt3.py9 from bcc import BPF, USDT
112 u = USDT(pid=int(self.app.pid))
Dtest_usdt.py9 from bcc import BPF, USDT
144 u = USDT(pid=int(self.app.pid))
/external/bcc/examples/usdt_sample/scripts/
Dlat_dist.py6 from bcc import BPF, USDT
83 usdt_ctx = USDT(pid=this_pid)
Dlat_avg.py6 from bcc import BPF, USDT
108 usdt_ctx = USDT(pid=this_pid)
Dlatency.py6 from bcc import BPF, USDT
85 usdt_ctx = USDT(pid=this_pid)
/external/bcc/src/cc/includes/
Dusdt.h31 class USDT; variable
34 namespace USDT {
238 friend class ::ebpf::USDT;
284 friend class ::ebpf::USDT;
/external/bcc/src/cc/
Dusdt.h31 class USDT; variable
34 namespace USDT {
238 friend class ::ebpf::USDT;
284 friend class ::ebpf::USDT;

123