1FUNCTION::KERNEL_STR(3staSpt)ring and data retrieving fFuUnNCTION::KERNEL_STR(3stap)
2
3
4

NAME

6       function::kernel_string_quoted - Retrieves and quotes string from
7       kernel memory
8

SYNOPSIS

10           kernel_string_quoted:string(addr:long)
11

ARGUMENTS

13       addr
14           the kernel memory address to retrieve the string from
15

DESCRIPTION

17       Returns the null terminated C string from a given kernel memory address
18       where any ASCII characters that are not printable are replaced by the
19       corresponding escape sequence in the returned string. Note that the
20       string will be surrounded by double quotes. If the kernel memory data
21       is not accessible at the given address, the address itself is returned
22       as a string, without double quotes.
23

SEE ALSO

25       tapset::conversions(3stap)
26
27
28
29SystemTap Tapset Reference         May 2021        FUNCTION::KERNEL_STR(3stap)
Impressum