rb_ctx
static __always_inline struct rb_ctx __rb_event_reserve(__u32 sz)
struct rb_ctx rb_ctx = {};
return rb_ctx;
rb_ctx.rb = rb;
bpf_ringbuf_reserve_dynptr(rb, sz, 0, &rb_ctx.dptr);
return rb_ctx;
static __noinline void __rb_event_submit(struct rb_ctx *ctx)
struct rb_ctx event_ctx = __rb_event_reserve(256);