trace_print_lat_fmt(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 πŸ’œ

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