Linux Perf
unwind-libdw.c File Reference
#include <elfutils/libdwfl.h>
#include "../../util/unwind-libdw.h"
#include "../../util/perf_regs.h"
#include "../../util/event.h"
Include dependency graph for unwind-libdw.c:

Go to the source code of this file.

Macros

#define REG(r)
 

Functions

bool libdw__arch_set_initial_registers (Dwfl_Thread *thread, void *arg)
 

Macro Definition Documentation

◆ REG

#define REG (   r)
Value:
({ \
Dwarf_Word val = 0; \
perf_reg_value(&val, user_regs, PERF_REG_X86_##r); \
val; \
})

Function Documentation

◆ libdw__arch_set_initial_registers()

bool libdw__arch_set_initial_registers ( Dwfl_Thread *  thread,
void *  arg 
)

Definition at line 7 of file unwind-libdw.c.