Searched refs:bpf_usdt_arg (Results 1 - 2 of 2) sorted by relevance
/linux-master/tools/lib/bpf/ |
H A D | usdt.bpf.h | 116 int bpf_usdt_arg(struct pt_regs *ctx, __u64 arg_num, long *res) function 217 #define ___bpf_usdt_args1(x) ___bpf_usdt_args0(), ({ long _x; bpf_usdt_arg(ctx, 0, &_x); (void *)_x; }) 218 #define ___bpf_usdt_args2(x, args...) ___bpf_usdt_args1(args), ({ long _x; bpf_usdt_arg(ctx, 1, &_x); (void *)_x; }) 219 #define ___bpf_usdt_args3(x, args...) ___bpf_usdt_args2(args), ({ long _x; bpf_usdt_arg(ctx, 2, &_x); (void *)_x; }) 220 #define ___bpf_usdt_args4(x, args...) ___bpf_usdt_args3(args), ({ long _x; bpf_usdt_arg(ctx, 3, &_x); (void *)_x; }) 221 #define ___bpf_usdt_args5(x, args...) ___bpf_usdt_args4(args), ({ long _x; bpf_usdt_arg(ctx, 4, &_x); (void *)_x; }) 222 #define ___bpf_usdt_args6(x, args...) ___bpf_usdt_args5(args), ({ long _x; bpf_usdt_arg(ctx, 5, &_x); (void *)_x; }) 223 #define ___bpf_usdt_args7(x, args...) ___bpf_usdt_args6(args), ({ long _x; bpf_usdt_arg(ctx, 6, &_x); (void *)_x; }) 224 #define ___bpf_usdt_args8(x, args...) ___bpf_usdt_args7(args), ({ long _x; bpf_usdt_arg(ctx, 7, &_x); (void *)_x; }) 225 #define ___bpf_usdt_args9(x, args...) ___bpf_usdt_args8(args), ({ long _x; bpf_usdt_arg(ct [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_usdt.c | 28 usdt0_arg_ret = bpf_usdt_arg(ctx, bpf_get_prandom_u32(), &tmp); 51 usdt3_arg_rets[0] = bpf_usdt_arg(ctx, 0, &tmp); 54 usdt3_arg_rets[1] = bpf_usdt_arg(ctx, 1, &tmp); 57 usdt3_arg_rets[2] = bpf_usdt_arg(ctx, 2, &tmp);
|
Completed in 111 milliseconds