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

NAME

6       function::kernel_string2 - Retrieves string from kernel memory with
7       alternative error string
8

SYNOPSIS

10           kernel_string2:string(addr:long,err_msg:string)
11

ARGUMENTS

13       addr
14           The kernel address to retrieve the string from
15
16       err_msg
17           The error message to return when data isn't available
18

DESCRIPTION

20       This function returns the null terminated C string from a given kernel
21       memory address. Reports the given error message on string copy fault.
22
23
24
25SystemTap Tapset Reference        August 2011      FUNCTION::KERNEL_STR(3stap)
Impressum