Linux Perf
skip-callchain-idx.c File Reference
#include <inttypes.h>
#include <dwarf.h>
#include <elfutils/libdwfl.h>
#include "util/thread.h"
#include "util/callchain.h"
#include "util/debug.h"
Include dependency graph for skip-callchain-idx.c:

Go to the source code of this file.

Functions

static int check_return_reg (int ra_regno, Dwarf_Frame *frame)
 
static Dwarf_Frame * get_eh_frame (Dwfl_Module *mod, Dwarf_Addr pc)
 
static Dwarf_Frame * get_dwarf_frame (Dwfl_Module *mod, Dwarf_Addr pc)
 
static int check_return_addr (struct dso *dso, u64 map_start, Dwarf_Addr pc)
 
int arch_skip_callchain_idx (struct thread *thread, struct ip_callchain *chain)
 

Variables

static char * debuginfo_path
 
static const Dwfl_Callbacks offline_callbacks
 

Function Documentation

◆ arch_skip_callchain_idx()

int arch_skip_callchain_idx ( struct thread thread,
struct ip_callchain chain 
)

Definition at line 238 of file skip-callchain-idx.c.

Here is the call graph for this function:

◆ check_return_addr()

static int check_return_addr ( struct dso dso,
u64  map_start,
Dwarf_Addr  pc 
)
static

Definition at line 148 of file skip-callchain-idx.c.

Here is the call graph for this function:

◆ check_return_reg()

static int check_return_reg ( int  ra_regno,
Dwarf_Frame *  frame 
)
static

Definition at line 46 of file skip-callchain-idx.c.

◆ get_dwarf_frame()

static Dwarf_Frame* get_dwarf_frame ( Dwfl_Module *  mod,
Dwarf_Addr  pc 
)
static

Definition at line 118 of file skip-callchain-idx.c.

◆ get_eh_frame()

static Dwarf_Frame* get_eh_frame ( Dwfl_Module *  mod,
Dwarf_Addr  pc 
)
static

Definition at line 93 of file skip-callchain-idx.c.

Variable Documentation

◆ debuginfo_path

char* debuginfo_path
static

Definition at line 33 of file skip-callchain-idx.c.

◆ offline_callbacks

const Dwfl_Callbacks offline_callbacks
static
Initial value:
= {
.debuginfo_path = &debuginfo_path,
.find_debuginfo = dwfl_standard_find_debuginfo,
.section_address = dwfl_offline_section_address,
}
static char * debuginfo_path

Definition at line 35 of file skip-callchain-idx.c.