blk_add_trace_bio(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so welcome to the blk_add_trace_bio(9) page from the Kernel API Manual, bestie ✨ this one is literally β€œAdd a trace for a bio oriented action” and it’s giving kernel tracing realness πŸ’…

✨ SYNOPSIS ✨

void blk_add_trace_bio (struct request_queue *q , struct bio *bio , u64
       what , int error );

πŸŽ€ ARGUMENTS πŸŽ€

  • q β€” the queue the io is for. yes bestie, that queue 🫢
  • bio β€” the source bio, the main character of the trace 🌸
  • what β€” the action. that’s the vibe check πŸ‘‘
  • error β€” error, if any. lowkey keep an eye on it πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

Records an action against a bio. Will log the bio offset + size. no cap, that’s literally the whole description πŸ’–

🌈 SEE ALSO 🌈

Kernel file ./kernel/trace/blktrace.c β€” plus these iconic cross-refs, iykyk:


that’s the whole page, bestie πŸ’… source/version is ./kernel/trace, dated October 2026 β€” mwah 🫢✨

πŸ“¦ where this page comes from