Home
last modified time | relevance | path

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

/linux-6.1.9/tools/lib/bpf/
Dusdt.bpf.h119 struct __bpf_usdt_arg_spec *arg_spec; in bpf_usdt_arg() local
136 arg_spec = &spec->args[arg_num]; in bpf_usdt_arg()
137 switch (arg_spec->arg_type) { in bpf_usdt_arg()
142 val = arg_spec->val_off; in bpf_usdt_arg()
150 err = bpf_probe_read_kernel(&val, sizeof(val), (void *)ctx + arg_spec->reg_off); in bpf_usdt_arg()
162 err = bpf_probe_read_kernel(&val, sizeof(val), (void *)ctx + arg_spec->reg_off); in bpf_usdt_arg()
165 err = bpf_probe_read_user(&val, sizeof(val), (void *)val + arg_spec->val_off); in bpf_usdt_arg()
169 val >>= arg_spec->arg_bitshift; in bpf_usdt_arg()
180 val <<= arg_spec->arg_bitshift; in bpf_usdt_arg()
181 if (arg_spec->arg_signed) in bpf_usdt_arg()
[all …]