Debian Codegraph @

doc/SystemTap_Tapset_Reference/man3/function::print_ubacktrace.3stap

raw
1 '\" t
2 .\" Title: function::print_ubacktrace
3 .\" Author:
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
5 .\" Date: October 2025
6 .\" Manual: Context Functions
7 .\" Source: SystemTap Tapset Reference
8 .\" Language: English
9 .\"
10 .TH "FUNCTION::PRINT_UBAC" "3stap" "October 2025" "SystemTap Tapset Reference" "Context Functions"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18 .ie \n(.g .ds Aq \(aq
19 .el .ds Aq '
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
24 .nh
25 .\" disable justification (adjust text to left margin only)
26 .ad l
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
30 .SH "NAME"
31 function::print_ubacktrace \- Print stack back trace for current user\-space task\&.
32 .SH "SYNOPSIS"
33 .sp
34 .nf
35 1) print_ubacktrace()
36 .fi
37 .sp
38 .nf
39 2) print_ubacktrace(pc:long,sp:long,fp:long)
40 .fi
41 .SH "ARGUMENTS"
42 .PP
43 \fIpc\fR
44 .RS 4
45 override PC
46 .RE
47 .PP
48 \fIsp\fR
49 .RS 4
50 override SP
51 .RE
52 .PP
53 \fIfp\fR
54 .RS 4
55 override FP
56 .RE
57 .SH "DESCRIPTION"
58 .PP
59 1)
60 .PP
61 2) Equivalent to print_ustack(\fBubacktrace\fR), except that deeper stack nesting may be supported\&. Returns nothing\&. See
62 \fBprint_backtrace\fR
63 for kernel backtrace\&.
64 .PP
65 Equivalent to
66 \fBprint_ubacktrace\fR, but it performs the backtrace using the pc, sp, and fp provided\&. Useful
67 .SH "NOTE"
68 .PP
69 To get (full) backtraces for user space applications and shared shared libraries not mentioned in the current script run stap with \-d /path/to/exe\-or\-so and/or add \-\-ldd to load all needed unwind data\&.
70 .SH SEE ALSO\n
71 .IR tapset::ucontext-unwind (3stap)
72 .SH SEE ALSO\n
73 .IR tapset::ucontext-unwind (3stap)