ring_buffer_oldest_event_ts(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ ring_buffer_oldest_event_ts(9) πŸ¦‹

okay so bestie, we're in the Kernel API Manual today and this page is literally about grabbing the oldest event timestamp out of a ring buffer. that's the whole vibe. iconic lil timestamp snatcher πŸ’…


✨ NAME ✨

ring_buffer_oldest_event_ts β€” get the oldest event timestamp from the buffer 🫢


🌸 SYNOPSIS 🌸

u64 ring_buffer_oldest_event_ts (struct trace_buffer *buffer , int cpu );

like, she takes a struct trace_buffer * and an int, and she gives you back a u64. no cap, that's the whole signature πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • buffer β€” the ring buffer in question, the main character of this whole situation 🌈
  • cpu β€” the per CPU buffer to read from. yes, per CPU, so pick your fave πŸ’…

⭐ SEE ALSO ⭐

the kernel file lives at ./kernel/trace/ring_buffer.c and honestly the whole friend group shows up here. look at all these legends πŸ˜­πŸ’œ


and that's the whole page bestie, go get that oldest timestamp πŸ‘‘

so this one's coming at you from ./kernel/trace, dated October 2026, and it's still called ring_buffer_oldest_event_ts(9) β€” mwah, bye πŸ’‹βœ¨

πŸ“¦ where this page comes from