trace_print_lat_fmt(9)
π trace_print_lat_fmt(9) β like, the kernel API manual bestie β¨
okay so this is a page from the Kernel API Manual, and honestly? it's a little one but it serves. it's all about trace_print_lat_fmt, and if you're poking around ftrace internals, you're gonna want to know her π«Ά
πΈ NAME πΈ
trace_print_lat_fmt β prints the irq, preempt and lockdep fields, no cap π
β¨ SYNOPSIS β¨
int trace_print_lat_fmt (struct trace_seq *s , struct trace_entry *entry );
like, that's the whole signature. short queen, iconic behavior π
π ARGUMENTS π
sβ the trace seq struct you're writing to, that's her whole job πentryβ the trace entry field, straight out of the ring buffer, bestie π
π¦ DESCRIPTION π¦
so what does she actually do? she prints the generic fields β irqs off, in hard or softirq, and the preempt count. that's it. that's the vibe check and she passes β
ngl it's a small function but it's doing main character energy work in the trace output pipeline, fr fr
π SEE ALSO π
- the kernel file
./kernel/trace/trace_output.cβ go read her, iykyk π trace_print_bitmask_seq(9)trace_print_hex_seq(9)ftrace_find_event(9)register_trace_event(9)unregister_trace_event(9)
like, the whole squad π«Ά they all hang out together
and that's the page!! π this cutie lives in ./kernel/trace, it's dated October 2026, and it's page trace_print_lat_fmt(9) of the Kernel API Manual β slay, go read the source bestie π
β¨π₯
π¦ 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