Query: function::kernel_string2
OS: centos
Section: 3stap
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FUNCTION::KERNEL_STR(3stap) String and data retrieving fun FUNCTION::KERNEL_STR(3stap)NAMEfunction::kernel_string2 - Retrieves string from kernel memory with alternative error stringSYNOPSISkernel_string2:string(addr:long,err_msg:string)ARGUMENTSaddr The kernel address to retrieve the string from err_msg The error message to return when data isn't availableDESCRIPTIONThis function returns the null terminated C string from a given kernel memory address. Reports the given error message on string copy fault. SystemTap Tapset Reference June 2014 FUNCTION::KERNEL_STR(3stap)