1FUNCTION::USER_STRIN(3staSpt)ring and data retrieving fFuUnNCTION::USER_STRIN(3stap)
2
3
4

NAME

6       function::user_string_n_warn - Retrieves string from user space
7

SYNOPSIS

9           user_string_n_warn:string(addr:long,n:long)
10

ARGUMENTS

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

DESCRIPTION

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
23
24
25SystemTap Tapset Reference        August 2011      FUNCTION::USER_STRIN(3stap)
Impressum