Jiri Olsa | 5ea8415 | 2014-02-19 16:52:57 +0100 | [diff] [blame] | 1 | #ifndef __PERF_UNWIND_LIBDW_H |
| 2 | #define __PERF_UNWIND_LIBDW_H |
| 3 | |
| 4 | #include <elfutils/libdwfl.h> |
| 5 | #include "event.h" |
| 6 | #include "thread.h" |
| 7 | #include "unwind.h" |
| 8 | |
| 9 | bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg); |
| 10 | |
| 11 | struct unwind_info { |
| 12 | Dwfl *dwfl; |
| 13 | struct perf_sample *sample; |
| 14 | struct machine *machine; |
| 15 | struct thread *thread; |
| 16 | unwind_entry_cb_t cb; |
| 17 | void *arg; |
| 18 | int max_stack; |
Jiri Olsa | 8bd508b | 2015-11-19 14:01:19 +0100 | [diff] [blame] | 19 | int idx; |
| 20 | struct unwind_entry entries[]; |
Jiri Olsa | 5ea8415 | 2014-02-19 16:52:57 +0100 | [diff] [blame] | 21 | }; |
| 22 | |
| 23 | #endif /* __PERF_UNWIND_LIBDW_H */ |