Home
last modified time | relevance | path

Searched refs:PT_REGS_PARM2 (Results 1 – 3 of 3) sorted by relevance

/linux/samples/bpf/
H A Dtracex5.bpf.c50 bpf_core_read(&sd, sizeof(sd), (void *)PT_REGS_PARM2(ctx)); in SYS__NR_write()
63 bpf_core_read(&sd, sizeof(sd), (void *)PT_REGS_PARM2(ctx)); in SYS__NR_read()
H A Dtracex4.bpf.c30 long ptr = PT_REGS_PARM2(ctx); in bpf_prog1()
/linux/tools/lib/bpf/
H A Dbpf_tracing.h493 #define PT_REGS_PARM2(x) (__PT_REGS_CAST(x)->__PT_PARM2_REG) macro
571 #define PT_REGS_PARM2(x) ({ _Pragma(__BPF_TARGET_MISSING); 0l; }) macro
797 …e ___bpf_kprobe_args2(x, args...) ___bpf_kprobe_args1(args), (unsigned long long)PT_REGS_PARM2(ctx)