---
name: "function::task_prio"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/function::task_prio"
---

# function::task\_prio(3stap)

The priority value of the task

## NAME

function::task\_prio - The priority value of the task

## SYNOPSIS

```
    task_prio:long(task:long)
```

## ARGUMENTS

*task*

task\_struct pointer

## DESCRIPTION

This function returns the priority value of the given task.

## SEE ALSO0

[*tapset::task*(3stap)](/tapset::task/3stap.md)
