function::returnstr(3stap)

function::returnstr3stap

Formats the return value as a string

Usage

    returnstr:string(format:long)

Arguments

format

Variable to determine return type base value

Overview

This function is used by the nd_syscall tapset, and returns a string. Set format equal to 1 for a decimal, 2 for hex, 3 for octal.

Note that this function should only be used in dwarfless probes (i.e. 'kprobe.function(“foo”)'). Other probes should use return_str.

See ALSO0

tapset::errno(3stap)

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

From systemtap-doc 5.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.