1FUNCTION::KERNEL_BUF(3staSpt)ring and data retrieving fFuUnNCTION::KERNEL_BUF(3stap)
2
3
4
6 function::kernel_buffer_quoted_error - Retrieves and quotes buffer from
7 kernel space
8
10 kernel_buffer_quoted_error:string(addr:long,inlen:long,outlen:long)
11
13 addr
14 the kernel space address to retrieve the buffer from
15
16 inlen
17 the exact length of the buffer to read
18
19 outlen
20 the maximum length of the output string
21
23 Reads inlen characters of a buffer from the given kernel space memory
24 address, and returns up to outlen characters, where any ASCII
25 characters that are not printable are replaced by the corresponding
26 escape sequence in the returned string. Note that the string will be
27 surrounded by double quotes. On the rare cases when kernel space data
28 is not accessible at the given address, an error is thrown.
29
31 tapset::conversions(3stap)
32
33
34
35SystemTap Tapset Reference May 2021 FUNCTION::KERNEL_BUF(3stap)