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

NAME

6       function::kernel_string_n - Retrieves string of given length from
7       kernel memory
8

SYNOPSIS

10           kernel_string_n:string(addr:long,n:long)
11

ARGUMENTS

13       addr
14           The kernel address to retrieve the string from
15
16       n
17           The maximum length of the string (if not null terminated)
18

DESCRIPTION

20       Returns the C string of a maximum given length from a given kernel
21       memory address. Reports an error on string copy fault.
22

SEE ALSO

24       tapset::conversions(3stap)
25
26
27
28SystemTap Tapset Reference       October 2018      FUNCTION::KERNEL_STR(3stap)
Impressum