function::kernel_string_n(3stap)

function::kernel_string_n3stap

Retrieves string of given length from kernel memory

Usage

    kernel_string_n:string(addr:long,n:long)

Arguments

addr

The kernel address to retrieve the string from

n

The maximum length of the string (if not null terminated)

Overview

Returns the C string of a maximum given length from a given kernel memory address. Reports an error on string copy fault.

See ALSO0

tapset::conversions(3stap)

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

From systemtap-doc 5.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.