FUNCTION::KERNEL_CHAR(3stap)
π function::kernel_char β the 3stap manual, bestie edition π
okay so real talk, this is a page from the SystemTap Tapset Reference (that's the 3stap manual section, iykyk) and it's about a lil function that goes and grabs one single char out of kernel memory. tiny job. iconic execution. let's get into it β¨
πΈ NAME πΈ
function::kernel_char β retrieves a char value stored in kernel memory
like. that's it. that's the whole gig. one character. she's small but she's everything π
β¨ SYNOPSIS β¨
kernel_char:long(addr:long)
look at her. one argument. no drama. slay π
π¦ ARGUMENTS π¦
addrβ the kernel address to retrieve the char from. that's the spot in kernel memory you're pointing at, bestie, and she will go get the char that lives there π«Ά
π DESCRIPTION π
okay so here's the vibe: kernel_char returns the char value from a given kernel memory address. you give her an address, she hands you back a char. simple. clean. main character energy fr fr π
but β and this is the part where we get serious for one sec β she reports an error when reading from the given address fails. so if that read doesn't work out? she's not gonna quietly pretend everything's fine. she's gonna tell you. no cap. π
π do not expect a silent failure here. if the read from that address doesn't go through, an error gets reported. periodt.
π SEE ALSO π
tapset::conversions(3stap)β go read this one too bestie, it's the whole conversions tapset and it's lowkey essential π§
and that's the page!! this was the SystemTap Tapset Reference, version info Ver, dated September 2026 β tysm for reading, ily, go read a manpage today ππβ
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms