Searched refs:BPF_PROG2 (Results 1 - 1 of 1) sorted by relevance
/third_party/libbpf/src/ |
H A D | bpf_tracing.h | 751 * BPF_PROG2 is an enhanced version of BPF_PROG in order to handle struct 754 * of u64 values for each argument. Therefore, BPF_PROG2 has different 759 * the corresponding BPF_PROG2 syntax is: 761 * int BPF_PROG2(test2, int, a, int, b) { ... } 765 * Use BPF_PROG2 macro if one of the arguments might be a struct/union larger 768 * int BPF_PROG2(test_struct_arg, struct bpf_testmod_struct_arg_1, a, int, b, 775 #define BPF_PROG2(name, args...) \ macro
|
Completed in 3 milliseconds