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

# function::ftrace(3stap)

Send a message to the ftrace ring-buffer

## NAME

function::ftrace - Send a message to the ftrace ring-buffer

## SYNOPSIS

```
    ftrace(msg:string)
```

## ARGUMENTS

*msg*

The formatted message string

## DESCRIPTION

If the ftrace ring-buffer is configured & available, see /debugfs/tracing/trace for the message. Otherwise, the message may be quietly dropped. An implicit end-of-line is added.

## SEE ALSO0

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