FUNCTION::SET\_LONG\_A(3stap) Context Functions FUNCTION::SET\_LONG\_A(3stap)

# [NAME](#NAME)

function::set\_long\_arg - Set argument as signed long

# [SYNOPSIS](#SYNOPSIS)

```


    set_long_arg(n:long,v:long)
```

# [ARGUMENTS](#ARGUMENTS)

*n*

index of argument to set

*v*

value to set

# [DESCRIPTION](#DESCRIPTION)

Set the value of argument n as a signed long. On architectures where a long is 32 bits, the value is sign-extended to 64 bits.

# [SEE ALSO0](#SEE_ALSO0)

[*tapset::registers*(3stap)](/man/enterprise-packages/systemtap/tapset::registers.3stap)

September 2026 SystemTap Tapset Reference Ver

---

Document: function::set_long_arg(3stap) from systemtap 5.6-r0 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
