Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dusdt.bpf.h119 struct __bpf_usdt_arg_spec *arg_spec; in bpf_usdt_arg() local
139 arg_spec = &spec->args[arg_num]; in bpf_usdt_arg()
140 switch (arg_spec->arg_type) { in bpf_usdt_arg()
143 * value is recorded in arg_spec->val_off directly. in bpf_usdt_arg()
145 val = arg_spec->val_off; in bpf_usdt_arg()
151 * record offsetof(struct pt_regs, <regname>) in arg_spec->reg_off. in bpf_usdt_arg()
153 err = bpf_probe_read_kernel(&val, sizeof(val), (void *)ctx + arg_spec->reg_off); in bpf_usdt_arg()
161 * is in arg_spec->val_off. We first fetch register contents in bpf_usdt_arg()
165 err = bpf_probe_read_kernel(&val, sizeof(val), (void *)ctx + arg_spec->reg_off); in bpf_usdt_arg()
168 err = bpf_probe_read_user(&val, sizeof(val), (void *)val + arg_spec in bpf_usdt_arg()
[all...]

Completed in 1 milliseconds