OS Manuals

function::log(3stap)

function::log - Send a line to the common trace buffer

FUNCTION::LOG(3stap) Logging Tapset FUNCTION::LOG(3stap)

function::log - Send a line to the common trace buffer


log(msg:string)

msg

The formatted message string

This function logs data. log sends the message immediately to staprun and to the bulk transport (relayfs) if it is being used. If the last character given is not a newline, then one is added. This function is not as efficient as printf and should be used only for urgent messages.

tapset::logging(3stap)

September 2026 SystemTap Tapset Reference Ver

systemtap 5.6-r0 · enterprise-packages · ingested 2026-10-02