2014-02-19 15:52:57 +00:00
|
|
|
#ifndef __PERF_UNWIND_LIBDW_H
|
|
|
|
#define __PERF_UNWIND_LIBDW_H
|
|
|
|
|
|
|
|
#include <elfutils/libdwfl.h>
|
|
|
|
#include "unwind.h"
|
|
|
|
|
2017-04-20 00:34:35 +00:00
|
|
|
struct machine;
|
|
|
|
struct perf_sample;
|
|
|
|
struct thread;
|
|
|
|
|
2014-02-19 15:52:57 +00:00
|
|
|
bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg);
|
|
|
|
|
|
|
|
struct unwind_info {
|
|
|
|
Dwfl *dwfl;
|
|
|
|
struct perf_sample *sample;
|
|
|
|
struct machine *machine;
|
|
|
|
struct thread *thread;
|
|
|
|
unwind_entry_cb_t cb;
|
|
|
|
void *arg;
|
|
|
|
int max_stack;
|
2015-11-19 13:01:19 +00:00
|
|
|
int idx;
|
|
|
|
struct unwind_entry entries[];
|
2014-02-19 15:52:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __PERF_UNWIND_LIBDW_H */
|