FUNCTION::USER\_MODE(3stap) Context Functions FUNCTION::USER\_MODE(3stap)

# [NAME](#NAME)

function::user\_mode - Determines if probe point occurs in user-mode

# [SYNOPSIS](#SYNOPSIS)

```


    user_mode:long()
```

# [ARGUMENTS](#ARGUMENTS)

None

# [DESCRIPTION](#DESCRIPTION)

Return 1 if the probe point occurred in user-mode.

# [SEE ALSO0](#SEE_ALSO0)

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

September 2026 SystemTap Tapset Reference Ver

---

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