update_max_tr(9)
π NAME π
okay so bestie, welcome to the Kernel API Manual page for update_max_tr(9) β and the whole vibe is literally: update_max_tr β snapshot all trace buffers from global_trace to max_tr. π¦β¨
π SYNOPSIS π
void update_max_tr (struct trace_array *tr , struct task_struct *tsk ,
int cpu , void *cond_data );
πΈ ARGUMENTS πΈ
trβ tracer πtskβ the task with the latency πcpuβ The cpu that initiated the trace. π»cond_dataβ User data associated with a conditional snapshot π
β¨ DESCRIPTION β¨
So what it does: flip the buffers between tr and max_tr, and record information about which task was the cause of this latency. Thatβs the whole tea βπ
β buffer flip + info about the task that caused the latency, iconic fr fr.
π₯ SEE ALSO π₯
Kernel file ./kernel/trace/trace_snapshot.c, plus these besties:
tracing_snapshot_cond(9)tracing_cond_snapshot_data(9)tracing_snapshot_alloc(9)tracing_snapshot_cond_enable(9)tracing_snapshot_cond_disable(9)update_max_tr_single(9)
byeee π«Ά this page comes from ./kernel/trace, dated October 2026, and itβs update_max_tr(9) β mwah, ty for reading! ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms