]> git.karo-electronics.de Git - karo-tx-linux.git/blob - tools/perf/util/unwind-libdw.h
Merge tag 'drm-intel-next-fixes-2017-07-11' of git://anongit.freedesktop.org/git...
[karo-tx-linux.git] / tools / perf / util / unwind-libdw.h
1 #ifndef __PERF_UNWIND_LIBDW_H
2 #define __PERF_UNWIND_LIBDW_H
3
4 #include <elfutils/libdwfl.h>
5 #include "unwind.h"
6
7 struct machine;
8 struct perf_sample;
9 struct thread;
10
11 bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg);
12
13 struct unwind_info {
14         Dwfl                    *dwfl;
15         struct perf_sample      *sample;
16         struct machine          *machine;
17         struct thread           *thread;
18         unwind_entry_cb_t       cb;
19         void                    *arg;
20         int                     max_stack;
21         int                     idx;
22         struct unwind_entry     entries[];
23 };
24
25 #endif /* __PERF_UNWIND_LIBDW_H */