1FUNCTION::USER_STRIN(3staSpt)ring and data retrieving fFuUnNCTION::USER_STRIN(3stap)
2
3
4
6 function::user_string2_n_warn - Retrieves string from user space with
7 alternative warning string
8
10 user_string2_n_warn:string(addr:long,n:long,warn_msg:string)
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
19 warn_msg
20 the warning message to return when data isnĀ“t available
21
23 Returns up to n characters of a C string from a given user space memory
24 address. Reports the given warning message on the rare cases when
25 userspace data is not accessible and warns (but does not abort) about
26 the failure.
27
29 tapset::uconversions(3stap)
30
31
32
33SystemTap Tapset Reference June 2018 FUNCTION::USER_STRIN(3stap)