Show Table of Contents
function::returnstr
Name
function::returnstr — Formats the return value as a string
Synopsis
returnstr:string(format:long)
Arguments
format- Variable to determine return type base value
Description
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.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.