__trace_puts(9)
π __trace_puts(9) π
okay so bestie, welcome to the Kernel API Manual, section 9 β yes, that section, the kernel-functions one, we're fancy now π
. This page is about __trace_puts, and honestly? She's a little icon. Let's get into it.
β¨ NAME β¨
__trace_puts β write a constant string into the trace buffer.
That's it. That's her job. She takes your string and she puts it in the trace buffer. Simple, effective, iconic. π
π¦ SYNOPSIS π¦
int __trace_puts (unsigned long ip , const char *str );
like, look at that signature. she returns an int, she takes two things, and she's not sorry about it. no cap. β¨
πΈ ARGUMENTS πΈ
ipβ the address of the caller π«Ά (yes, literally the address of whoever called her β she likes to know who's talking, iykyk)strβ the constant string to write π (constant, bestie β that's the whole vibe)
π SEE ALSO π
if you're obsessed with her (same), go meet her friends β they all live in the kernel file ./kernel/trace/trace_printk.c:
one big happy trace-printing family. the way that they all just print into trace buffers together?? main character energy fr fr π
lowkey a reminder thatipis the address of the caller andstris a constant string β that's what it says, so that's what I'm telling you. no invented lore here, bestie. π
and that's the whole page, bestie β nothing else to unpack. this one came out of the ./kernel/trace corner of the tree, from the Kernel API Manual, dated October 2026 β. slay, go trace something. π
π₯π
π¦ 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