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

# probe::sunrpc.sched.release\_task(3stap)

Release all resources associated with a task

## NAME

probe::sunrpc.sched.release\_task - Release all resources associated with a task

## SYNOPSIS

```
sunrpc.sched.release_task
```

## VALUES

*prot*

the IP protocol in the RPC call

*vers*

the program version in the RPC call

*tk\_flags*

the flags of the task

*prog*

the program number in the RPC call

*xid*

the transmission id in the RPC call

## DESCRIPTION

**rpc\_release\_task** function might not be found for a particular kernel. So, if we can't find it, just return '-1' for everything.

## SEE ALSO0

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