FUNCTION::FTRACE(3stap)

πŸ’– FUNCTION::FTRACE πŸ’–

okay bestie, so this is a page from the Logging Tapset family, and it lives in manual section 3stap β€” that's the SystemTap tapset reference, iykyk 🫢


✨ NAME ✨

function::ftrace β€” the little function that sends a message straight to the ftrace ring-buffer 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

ftrace(msg:string)

πŸŽ€ ARGUMENTS πŸŽ€

  • msg β€” the formatted message string, periodt. it's a string, it's formatted, that's the whole vibe πŸ’…

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea, bestie β˜•

if the ftrace ring-buffer is configured & available (yes, both β€” the & is doing real work here), then your message shows up over at:

/debugfs/tracing/trace

that's your spot to go look at it. go, look, slay 🌈

but if it's not configured and available? then lowkey the message may just get quietly dropped 😭 no error, no drama, no nothing β€” it just ✨ evaporates ✨. so don't be surprised if you go looking and there's nothing there.

one more thing: an implicit end-of-line gets added. so you don't gotta add your own newline, the function's already got you 🫢


πŸ’œ SEE ALSO πŸ’œ


this has been the SystemTap Tapset Reference, dated September 2026 β€” thanks for reading the whole thing, you're literally the main character of manpage-reading rn πŸ‘‘πŸ’– bye bestie! πŸŽ€βœ¨

πŸ“¦ where this page comes from