GDB (xrefs)

Public Member Functions | Public Attributes | List of all members
btrace_function Struct Reference

`#include "btrace.h"`

## Public Member Functions
| btrace_function (struct minimal_symbol *msym_, struct symbol *sym_, unsigned int number_, unsigned int insn_offset_, int level_)

## Public Attributes
struct minimal_symbol * | msym
struct symbol * | sym
unsigned int | prev = 0
unsigned int | next = 0
unsigned int | up = 0
std::vector< btrace_insn > | insn
int | errcode = 0
unsigned int | insn_offset
unsigned int | number
int | level
btrace_function_flags | flags = 0

## Detailed Description

Definition at line 132 of file btrace.h.

## Constructor & Destructor Documentation

## ◆ btrace_function()

btrace_function::btrace_function | ( | struct minimal_symbol * | msym_,
|  | struct symbol * | sym_,
|  | unsigned int | number_,
|  | unsigned int | insn_offset_,
|  | int | level_
| ) |  |
| inline

Definition at line 134 of file btrace.h.

## Member Data Documentation

## ◆ errcode

int btrace_function::errcode = 0

Definition at line 164 of file btrace.h.

Referenced by btrace_bridge_gaps(), btrace_call_history(), btrace_decode_error(), btrace_ends_with_single_insn(), btrace_insn_get(), ftrace_call_num_insn(), ftrace_find_call(), ftrace_new_gap(), and ftrace_update_function().

## ◆ flags

btrace_function_flags btrace_function::flags = 0

Definition at line 186 of file btrace.h.

Referenced by ftrace_get_caller(), ftrace_new_return(), ftrace_new_switch(), ftrace_new_tailcall(), ftrace_update_caller(), record_btrace_frame_prev_register(), and record_btrace_tailcall_frame_sniffer().

## ◆ insn

std::vector<btrace_insn> btrace_function::insn

Definition at line 160 of file btrace.h.

Referenced by btrace_call_history_insn_range(), btrace_compute_src_line_range(), btrace_insn_end(), btrace_insn_get(), btrace_insn_next(), btrace_insn_prev(), btrace_stitch_bts(), ftrace_call_num_insn(), ftrace_compute_global_level_offset(), ftrace_debug(), ftrace_find_call(), ftrace_new_gap(), ftrace_update_function(), ftrace_update_insns(), and record_btrace_frame_prev_register().

## ◆ insn_offset

unsigned int btrace_function::insn_offset

Definition at line 170 of file btrace.h.

Referenced by btrace_call_history_insn_range(), btrace_compute_ftrace_bts(), btrace_find_insn_by_number(), ftrace_bridge_gap(), ftrace_debug(), and ftrace_new_function().

## ◆ level

int btrace_function::level

Definition at line 183 of file btrace.h.

Referenced by btrace_call_history(), btrace_compute_ftrace_bts(), ftrace_bridge_gap(), ftrace_compute_global_level_offset(), ftrace_connect_bfun(), ftrace_debug(), ftrace_fixup_level(), ftrace_new_call(), ftrace_new_function(), ftrace_new_return(), ftrace_new_tailcall(), record_btrace_frame_prev_register(), record_btrace_frame_sniffer(), and record_btrace_tailcall_frame_sniffer().

## ◆ msym

struct minimal_symbol* btrace_function::msym

Definition at line 142 of file btrace.h.

Referenced by btrace_call_history(), btrace_get_bfun_name(), ftrace_connect_backtrace(), ftrace_function_switched(), ftrace_match_backtrace(), and ftrace_print_function_name().

## ◆ next

unsigned int btrace_function::next = 0

Definition at line 150 of file btrace.h.

Referenced by gdb.FrameIterator.FrameIterator::__next__(), btrace_insn_next(), ftrace_connect_backtrace(), ftrace_connect_bfun(), ftrace_fixup_caller(), and ftrace_new_return().

## ◆ number

unsigned int btrace_function::number

Definition at line 175 of file btrace.h.

Referenced by btrace_bridge_gaps(), btrace_call_history(), btrace_find_call_by_number(), btrace_find_insn_by_number(), btrace_insn_end(), btrace_insn_next(), btrace_insn_prev(), btrace_stitch_bts(), ftrace_find_call_by_number(), ftrace_fixup_level(), ftrace_new_function(), ftrace_new_gap(), ftrace_new_return(), ftrace_new_switch(), ftrace_update_caller(), and record_btrace_frame_this_id().

## ◆ prev

unsigned int btrace_function::prev = 0

Definition at line 149 of file btrace.h.

Referenced by btrace_insn_prev(), ftrace_connect_backtrace(), ftrace_connect_bfun(), ftrace_fixup_caller(), ftrace_new_function(), ftrace_new_return(), ftrace_new_switch(), and record_btrace_frame_this_id().

## ◆ sym

struct symbol* btrace_function::sym

Definition at line 143 of file btrace.h.

Referenced by gdb.FrameDecorator.SymValueWrapper::__init__(), btrace_call_history(), btrace_call_history_src_line(), btrace_compute_src_line_range(), btrace_get_bfun_name(), ftrace_connect_backtrace(), ftrace_function_switched(), ftrace_match_backtrace(), ftrace_print_filename(), ftrace_print_function_name(), and gdb.FrameDecorator.SymValueWrapper::symbol().

## ◆ up

unsigned int btrace_function::up = 0

Definition at line 155 of file btrace.h.

Referenced by ftrace_find_call(), ftrace_find_caller(), ftrace_get_caller(), ftrace_new_call(), ftrace_new_return(), ftrace_new_switch(), ftrace_new_tailcall(), ftrace_update_caller(), record_btrace_frame_prev_register(), record_btrace_frame_unwind_stop_reason(), and record_btrace_tailcall_frame_sniffer().

The documentation for this struct was generated from the following file:

- /tmp/gdb-8.1/gdb/btrace.h