FUNCTION::SPRINT_SYM

Section: Context Functions (3stap)
Updated: November 2022
Index Return to Main Contents
 

NAME

function::sprint_syms - Return stack for kernel addresses from string  

SYNOPSIS

    sprint_syms(callers:string)
 

ARGUMENTS

callers

String with list of hexadecimal (kernel) addresses
 

DESCRIPTION

Perform a symbolic lookup of the addresses in the given string, which are assumed to be the result of a prior calls to stack, callers, and similar functions.

Returns a simple backtrace from the given hex string. One line per address. Includes the symbol name (or hex address if symbol couldn't be resolved) and module name (if found), as obtained from symdata. Includes the offset from the start of the function if found, otherwise the offset will be added to the module (if found, between brackets). Returns the backtrace as string (each line terminated by a newline character). Note that the returned stack will be truncated to MAXSTRINGLEN, to print fuller and richer stacks use print_syms.  

SEE ALSO

tapset::context-symbols(3stap)


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 15:22:17 GMT, November 16, 2022