FUNCTION::SET_LONG_A(3stap)
π FUNCTION::SET_LONG_A β bestie edition π
okay so real talk, this page lives in the 3stap manual, under the Context Functions umbrella, and it's all about one lil' function that goes by function::set_long_arg. yes it's short. yes it's iconic. let's get into it π«Ά
β¨ NAME β¨
function::set_long_arg β set an argument as a signed long π
πΈ SYNOPSIS πΈ
set_long_arg(n:long,v:long)
like. that's the whole thing. two args, no drama, main character energy π
π¦ ARGUMENTS π¦
nβ the index of the argument you wanna set. which one are we messing with, bestie? π§vβ the value you're setting it to. the actual number. the payload. periodt β
π DESCRIPTION π
so here's the tea β β set_long_arg sets the value of argument n as a signed long.
and here's the part where you gotta pay attention, fr fr: on architectures where a long is 32 bits, the value gets sign-extended to 64 bits. that's not a vibe check, that's just how the architecture do π
π SEE ALSO π
tapset::registers(3stap)β go read that one too, iykyk π
okay that's the whole page, no cap. this was SystemTap Tapset Reference, dropped back in September 2026, and you just read the 3stap entry for function::set_long_arg. slay, ate, left no crumbs πβ¨ bye bestie! ππ¦
π¦ 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