rb_update_event(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rb_update_event(9) πŸ’…

okay bestie, this is a Kernel API Manual page for rb_update_event(9). it's giving very "tiny helper, big ring-buffer energy" ✨

πŸŽ€ NAME πŸŽ€

rb_update_event β€” update event type and data.

✨ SYNOPSIS ✨

void rb_update_event (struct ring_buffer_per_cpu *cpu_buffer , struct
       ring_buffer_event *event , struct rb_event_info *info );

🌸 ARGUMENTS 🌸

  • cpu_buffer β€” the per cpu buffer of the event.
  • event β€” the event to update.
  • info β€” the info to update the event with (contains length and delta).

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the whole vibe here is updating the type and data fields of the event. The length is the actual size that is written to the ring buffer, and with this we can determine what to place into the data field. no cap, that's the whole job πŸ’–

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./kernel/trace/ring_buffer.c plus all these besties:


okay that's the page, bestie. source/version tag is ./kernel/trace, dated October 2026, and it's signed rb_update_event(9). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from