1FUNCTION::USER_STRIN(3staSpt)ring and data retrieving fFuUnNCTION::USER_STRIN(3stap)
2
3
4
6 function::user_string2 - Retrieves string from user space with
7 alternative error string
8
10 user_string2:string(addr:long,err_msg:string)
11
13 addr
14 the user space address to retrieve the string from
15
16 err_msg
17 the error message to return when data isn't available
18
20 Returns the null terminated C string from a given user space memory
21 address. Reports the given error message on the rare cases when
22 userspace data is not accessible.
23
24
25
26SystemTap Tapset Reference August 2011 FUNCTION::USER_STRIN(3stap)