#include <linux/compiler.h>
#include <elfutils/libdw.h>
#include <elfutils/libdwfl.h>
#include <inttypes.h>
#include <errno.h>
#include "debug.h"
#include "unwind.h"
#include "unwind-libdw.h"
#include "machine.h"
#include "thread.h"
#include <linux/types.h>
#include "event.h"
#include "perf_regs.h"
#include "callchain.h"
#include "util.h"
Go to the source code of this file.
|
static int | __report_module (struct addr_location *al, u64 ip, struct unwind_info *ui) |
|
static int | report_module (u64 ip, struct unwind_info *ui) |
|
static int | entry (u64 ip, struct unwind_info *ui) |
|
static pid_t | next_thread (Dwfl *dwfl, void *arg, void **thread_argp) |
|
static int | access_dso_mem (struct unwind_info *ui, Dwarf_Addr addr, Dwarf_Word *data) |
|
static bool | memory_read (Dwfl *dwfl __maybe_unused, Dwarf_Addr addr, Dwarf_Word *result, void *arg) |
|
static int | frame_callback (Dwfl_Frame *state, void *arg) |
|
int | unwind__get_entries (unwind_entry_cb_t cb, void *arg, struct thread *thread, struct perf_sample *data, int max_stack) |
|
◆ __report_module()
◆ access_dso_mem()
static int access_dso_mem |
( |
struct unwind_info * |
ui, |
|
|
Dwarf_Addr |
addr, |
|
|
Dwarf_Word * |
data |
|
) |
| |
|
static |
◆ entry()
◆ frame_callback()
static int frame_callback |
( |
Dwfl_Frame * |
state, |
|
|
void * |
arg |
|
) |
| |
|
static |
◆ memory_read()
static bool memory_read |
( |
Dwfl *dwfl |
__maybe_unused, |
|
|
Dwarf_Addr |
addr, |
|
|
Dwarf_Word * |
result, |
|
|
void * |
arg |
|
) |
| |
|
static |
◆ next_thread()
static pid_t next_thread |
( |
Dwfl * |
dwfl, |
|
|
void * |
arg, |
|
|
void ** |
thread_argp |
|
) |
| |
|
static |
◆ report_module()
static int report_module |
( |
u64 |
ip, |
|
|
struct unwind_info * |
ui |
|
) |
| |
|
static |
◆ unwind__get_entries()
◆ callbacks
const Dwfl_Thread_Callbacks callbacks |
|
static |
Initial value:= {
}
static bool memory_read(Dwfl *dwfl __maybe_unused, Dwarf_Addr addr, Dwarf_Word *result, void *arg)
static pid_t next_thread(Dwfl *dwfl, void *arg, void **thread_argp)
bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg)
Definition at line 158 of file unwind-libdw.c.
◆ debuginfo_path
◆ offline_callbacks
const Dwfl_Callbacks offline_callbacks |
|
static |
Initial value:= {
.find_debuginfo = dwfl_standard_find_debuginfo,
.section_address = dwfl_offline_section_address,
}
static char * debuginfo_path
Definition at line 20 of file unwind-libdw.c.