unwind-libdw.h 457 B

123456789101112131415161718192021
  1. #ifndef __PERF_UNWIND_LIBDW_H
  2. #define __PERF_UNWIND_LIBDW_H
  3. #include <elfutils/libdwfl.h>
  4. #include "event.h"
  5. #include "thread.h"
  6. #include "unwind.h"
  7. bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg);
  8. struct unwind_info {
  9. Dwfl *dwfl;
  10. struct perf_sample *sample;
  11. struct machine *machine;
  12. struct thread *thread;
  13. unwind_entry_cb_t cb;
  14. void *arg;
  15. int max_stack;
  16. };
  17. #endif /* __PERF_UNWIND_LIBDW_H */