1FUNCTION::RETURNSTR(3stap)       Errno Tapset       FUNCTION::RETURNSTR(3stap)
2
3
4

NAME

6       function::returnstr - Formats the return value as a string
7

SYNOPSIS

9           returnstr:string(format:long)
10

ARGUMENTS

12       format
13           Variable to determine return type base value
14

DESCRIPTION

16       This function is used by the nd_syscall tapset, and returns a string.
17       Set format equal to 1 for a decimal, 2 for hex, 3 for octal.
18
19       Note that this function should only be used in dwarfless probes (i.e.
20       'kprobe.function(“foo”)'). Other probes should use return_str.
21

SEE ALSO

23       tapset::errno(3stap)
24
25
26
27SystemTap Tapset Reference       October 2018       FUNCTION::RETURNSTR(3stap)
Impressum