function::kernel_string(3stap)

function::kernel_string3stap

Retrieves string from kernel memory

Usage

1) kernel_string:string(addr:long)
2) kernel_string:string(addr:long,err_msg:string)

Arguments

addr

The kernel address to retrieve the string from

err_msg

The error message to return when data isn't available

Overview

1) This function returns the null terminated C string from a given kernel memory address. Reports an error on string copy fault.

2) This function returns the null terminated C string from a given kernel memory address. Reports the given error message 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.