Home
last modified time | relevance | path

Searched refs:PT_REGS_PARM1 (Results 1 – 5 of 5) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dbpf_helpers.h266 #define PT_REGS_PARM1(x) ((x)->di) macro
279 #define PT_REGS_PARM1(x) ((x)->gprs[2]) macro
292 #define PT_REGS_PARM1(x) ((x)->regs[0]) macro
305 #define PT_REGS_PARM1(x) ((x)->regs[4]) macro
318 #define PT_REGS_PARM1(x) ((x)->gpr[3]) macro
329 #define PT_REGS_PARM1(x) ((x)->u_regs[UREG_I0]) macro
/external/bcc/tests/python/
Dtest_trace3.c31 struct Request rq = {.rq = PT_REGS_PARM1(ctx)}; in probe_blk_start_request()
38 struct Request rq = {.rq = PT_REGS_PARM1(ctx)}; in probe_blk_update_request()
Dtest_trace2.c9 struct Ptr key = {.ptr = PT_REGS_PARM1(ctx)}; in count_sched()
/external/bcc/docs/
Dtutorial_bcc_python_developer.md560 if (!PT_REGS_PARM1(ctx))
566 bpf_probe_read(&key.c, sizeof(key.c), (void *)PT_REGS_PARM1(ctx));
595 1. ```PT_REGS_PARM1(ctx)```: This fetches the first argument to ```strlen()```, which is the string.
Dreference_guide.md192 bpf_probe_read(&buf, sizeof(buf), (void *)PT_REGS_PARM1(ctx));