Home
last modified time | relevance | path

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

/tools/lib/bpf/
A Dusdt.bpf.h148 int bpf_usdt_arg(struct pt_regs *ctx, __u64 arg_num, long *res) in bpf_usdt_arg() function
249 #define ___bpf_usdt_args1(x) ___bpf_usdt_args0(), ({ long _x; bpf_usdt_arg(ctx, 0, &_x); _x; })
250 #define ___bpf_usdt_args2(x, args...) ___bpf_usdt_args1(args), ({ long _x; bpf_usdt_arg(ctx, 1, &_x…
251 #define ___bpf_usdt_args3(x, args...) ___bpf_usdt_args2(args), ({ long _x; bpf_usdt_arg(ctx, 2, &_x…
252 #define ___bpf_usdt_args4(x, args...) ___bpf_usdt_args3(args), ({ long _x; bpf_usdt_arg(ctx, 3, &_x…
253 #define ___bpf_usdt_args5(x, args...) ___bpf_usdt_args4(args), ({ long _x; bpf_usdt_arg(ctx, 4, &_x…
254 #define ___bpf_usdt_args6(x, args...) ___bpf_usdt_args5(args), ({ long _x; bpf_usdt_arg(ctx, 5, &_x…
255 #define ___bpf_usdt_args7(x, args...) ___bpf_usdt_args6(args), ({ long _x; bpf_usdt_arg(ctx, 6, &_x…
256 #define ___bpf_usdt_args8(x, args...) ___bpf_usdt_args7(args), ({ long _x; bpf_usdt_arg(ctx, 7, &_x…
257 #define ___bpf_usdt_args9(x, args...) ___bpf_usdt_args8(args), ({ long _x; bpf_usdt_arg(ctx, 8, &_x…
[all …]
/tools/testing/selftests/bpf/progs/
A Dtest_usdt.c29 usdt0_arg_ret = bpf_usdt_arg(ctx, bpf_get_prandom_u32(), &tmp); in usdt0()
54 usdt3_arg_rets[0] = bpf_usdt_arg(ctx, 0, &tmp); in usdt3()
58 usdt3_arg_rets[1] = bpf_usdt_arg(ctx, 1, &tmp); in usdt3()
62 usdt3_arg_rets[2] = bpf_usdt_arg(ctx, 2, &tmp); in usdt3()

Completed in 5 milliseconds