Searched refs:ptregs (Results 1 – 7 of 7) sorted by relevance
/external/bcc/examples/lua/ |
D | uprobe-tailkt.lua | 43 function (ptregs) 46 if ptregs.parm5 ~= writeable then return end 49 ffi.copy(line, ffi.cast('char *', ptregs.parm2)) 52 if ptregs.parm3 ~= klen then return false end 55 print('%s write:%d\n', line, ptregs.parm5)
|
D | kprobe-latency.lua | 30 local trace_start = bpf.kprobe('myprobe:blk_start_request', function (ptregs) 31 map[ptregs.parm1] = time() 33 local trace_end = bpf.kprobe('myprobe2:blk_account_io_completion', function (ptregs) 40 local delta = time() - map[ptregs.parm1]
|
D | uprobe-readline.lua | 24 local probe = bpf.uprobe('/bin/bash:readline', function (ptregs) 26 ffi.copy(line, ffi.cast('char *', ptregs.ax)) -- Cast `ax` to string pointer and copy to buffer
|
D | uprobe-readline-perf.lua | 27 local probe = bpf.uprobe('/bin/bash:readline', function (ptregs) 30 …ffi.copy(sample.str, ffi.cast('char *', ptregs.ax)) -- Cast `ax` to string pointer and copy to buf…
|
D | kprobe-write.lua | 26 local probe = bpf.kprobe('myprobe:sys_write', function (ptregs)
|
/external/bcc/src/cc/frontends/clang/ |
D | b_frontend_action.cc | 97 explicit ProbeChecker(Expr *arg, const set<tuple<Decl *, int>> &ptregs, in ProbeChecker() argument 99 : needs_probe_(false), is_transitive_(false), ptregs_(ptregs), in ProbeChecker() 107 explicit ProbeChecker(Expr *arg, const set<tuple<Decl *, int>> &ptregs, in ProbeChecker() argument 109 : ProbeChecker(arg, ptregs, is_transitive, false) {} in ProbeChecker() 209 explicit ProbeSetter(set<tuple<Decl *, int>> *ptregs, int nb_addrof) in ProbeSetter() argument 210 : ptregs_(ptregs), nb_derefs_(-nb_addrof) {} in ProbeSetter() 216 explicit ProbeSetter(set<tuple<Decl *, int>> *ptregs) in ProbeSetter() argument 217 : ProbeSetter(ptregs, 0) {} in ProbeSetter()
|
/external/bcc/src/lua/ |
D | README.md | 89 bpf.uprobe('/bin/bash:readline' function (ptregs)
|