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

NAME

6       function::kernel_string - Retrieves string from kernel memory
7

SYNOPSIS

9       1) kernel_string:string(addr:long)
10
11       2) kernel_string:string(addr:long,err_msg:string)
12

ARGUMENTS

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

DESCRIPTION

21       1) This function returns the null terminated C string from a given
22       kernel memory address. Reports an error on string copy fault.
23
24       2) This function returns the null terminated C string from a given
25       kernel memory address. Reports the given error message on string copy
26       fault.
27

SEE ALSO

29       tapset::conversions(3stap)
30
31
32
33SystemTap Tapset Reference       October 2018      FUNCTION::KERNEL_STR(3stap)
Impressum