1FUNCTION::USER_STRIN(3staSpt)ring and data retrieving fFuUnNCTION::USER_STRIN(3stap)
2
3
4
6 function::user_string - Retrieves string from user space
7
9 1) user_string:string(addr:long)
10
11 2) user_string:string(addr:long,err_msg:string)
12
14 addr
15 the user space address to retrieve the string from
16
17 err_msg
18 the error message to return when data isn't available
19
21 1) Returns the null terminated C string from a given user space memory
22 address. Reports an error on the rare cases when userspace data is not
23 accessible.
24
25 2) Returns the null terminated C string from a given user space memory
26 address. Reports the given error message on the rare cases when
27 userspace data is not accessible.
28
30 tapset::uconversions(3stap)
31
32
33
34SystemTap Tapset Reference June 2018 FUNCTION::USER_STRIN(3stap)