update_max_tr_single(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… update_max_tr_single(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so literally welcome to the Kernel API Manual page for update_max_tr_single(9) and honestly? she's a baddie with one very specific job. let's get into it ✨


✨ NAME ✨

update_max_tr_single β€” only copy one trace over, and reset the rest 🫢

like... one (1) trace gets the copy treatment and everybody else gets wiped. no cap.


🌸 SYNOPSIS 🌸

void update_max_tr_single (struct trace_array *tr , struct task_struct *tsk , int cpu );

return type is void, so she gives you nothing back, she just does things. main character energy fr πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • tr β€” the tracer. that's the struct trace_array * bestie herself πŸ’–
  • tsk β€” the task with the latency πŸ‘€ (the whole reason we're here)
  • cpu β€” the cpu of the buffer to copy. just the one. we're being selective 🎯

⭐ DESCRIPTION ⭐

Flip the trace of a single CPU buffer between the tr and the max_tr.

that's it, that's the whole vibe. one CPU buffer, two homes (tr and max_tr), and she's flipping it between them like a light switch 🧚✨


πŸ”₯ SEE ALSO πŸ”₯


and that's the page!! mwah πŸ’‹ this came straight out of ./kernel/trace, dated October 2026, and it's update_max_tr_single(9) signing off β€” slay, bye, go flip some buffers πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from