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

NAME

6       function::user_string_warn - Retrieves string from user space
7

SYNOPSIS

9       1) user_string_warn:string(addr:long)
10
11       2) user_string_warn:string(addr:long,warn_msg:string)
12

ARGUMENTS

14       addr
15           the user space address to retrieve the string from
16
17       warn_msg
18           the warning message to return when data isn't available
19

DESCRIPTION

21       1) Returns the null terminated C string from a given user space memory
22       address. Reports "" on the rare cases when userspace data is not
23       accessible and warns (but does not abort) about the failure.
24
25       2) Returns the null terminated C string from a given user space memory
26       address. Reports the given warning message on the rare cases when
27       userspace data is not accessible and warns (but does not abort) about
28       the failure.
29

SEE ALSO

31       tapset::uconversions(3stap)
32
33
34
35SystemTap Tapset Reference         May 2021        FUNCTION::USER_STRIN(3stap)
Impressum