1FUNCTION::USER_STRIN(3staSpt)ring and data retrieving fFuUnNCTION::USER_STRIN(3stap)
2
3
4
6 function::user_string_n_warn - Retrieves string from user space
7
9 user_string_n_warn:string(addr:long,n:long)
10
12 addr
13 the user space address to retrieve the string from
14
15 n
16 the maximum length of the string (if not null terminated)
17
19 Returns up to n characters of a C string from a given user space memory
20 address. Reports “<unknown>” on the rare cases when userspace data is
21 not accessible and warns (but does not abort) about the failure.
22
24 tapset::uconversions(3stap)
25
26
27
28SystemTap Tapset Reference June 2018 FUNCTION::USER_STRIN(3stap)