FUNCTION::REGPARM(3stap)
π FUNCTION::REGPARM π
okay bestie, this one lives in the SystemTap Tapset Reference (that's the 3stap manual, section 3, tapset vibes) β¨ it's one of the Context Functions and honestly it's a tiny little page but it's IMPORTANT, so let's go π«Ά
πΈ NAME πΈ
function::regparm β specify the regparm value that was used to compile a function π
β¨ SYNOPSIS β¨
regparm(n:long)
π ARGUMENTS π
nβ the original regparm value π like, the actual number, not a vibe.
π DESCRIPTION π
okay so listen. you call this function with argument n before you go touching function arguments with the *_arg function β and you only do that when the function was built with the gcc -mregparm=n option. it's giving "hey systemtap, heads up, this thing was compiled a specific way" π
and here's the tea: the i386 kernel is built with -mregparm=3, so systemtap treats regparm(3) as the default for kernel functions on that architecture. no cap. π
β οΈ bestie this is only valid oni386andx86_64β and onx86_64only when you're probing 32bit applications. on any other architecture it produces an error. like, it will not slay there. it will simply fail. π
π¦ SEE ALSO π¦
tapset::registers(3stap)β go read that one too, iykyk π
that's the whole page, no filler, we ate and left no crumbs π SystemTap Tapset Reference, version field sitting there as just "Ver", dated September 2026 β mwah, periodt. πβ¨
π¦ 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