kunit_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– kunit_info(9) β€” like, the Kernel API Manual page, bestie πŸ’–

okay so picture this: it's giving Kernel API Manual energy, the page is literally called kunit_info, and it's about to be your new fave little log-drop πŸ’…


✨ NAME ✨

kunit_info β€” prints an INFO level message associated with @test. that's it. that's the whole vibe. πŸŽ€


🌸 SYNOPSIS 🌸

kunit_info (test , fmt , ... );

look at her go. three args, one job, no notes 😌


πŸ¦‹ ARGUMENTS πŸ¦‹

  • test β€” the test context object. the main character of this whole operation fr.
  • fmt β€” a printk style format string. yes, that printk. you know her, you love her πŸ’–
  • ... β€” variable arguments. as many as your lil heart desires 🫢

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea β˜•: this bad boy prints an info level message associated with the test suite that's being run. like, the suite is doing its thing, and kunit_info is right there in the group chat announcing it πŸ“£

and it takes a variable number of format parameters just like printk β€” same energy, same rules, no cap. so if you already know how to printk, congrats, you already know how to kunit_info. slay. ✨


πŸ“ SEE ALSO πŸ“

kernel file ./include/kunit/test.h β€” the whole friend group lives here, and honestly? iconic lineup πŸ‘‘

like I said. whole friend group. go say hi to all of them 🫢


and that's the page, bestie!! 🌈 this lil cutie comes from ./include/kunit and she's stamped October 2026 β€” so go forth, log your info messages, and remember: printk-style formatting, always. mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from