1FUNCTION::USER_STRIN(3staSpt)ring and data retrieving fFuUnNCTION::USER_STRIN(3stap)
2
3
4
6 function::user_string_n_quoted - Retrieves and quotes string from user
7 space
8
10 user_string_n_quoted:string(addr:long,n:long)
11
13 addr
14 the user space address to retrieve the string from
15
16 n
17 the maximum length of the string (if not null terminated)
18
20 Returns up to n characters of a C string from the given user space
21 memory address where any ASCII characters that are not printable are
22 replaced by the corresponding escape sequence in the returned string.
23 Reports “NULL” for address zero. Returns “<unknown>” on the rare cases
24 when userspace data is not accessible at the given address.
25
26
27
28SystemTap Tapset Reference August 2011 FUNCTION::USER_STRIN(3stap)