Linux Perf
unwind-libdw.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __PERF_UNWIND_LIBDW_H
3 #define __PERF_UNWIND_LIBDW_H
4 
5 #include <elfutils/libdwfl.h>
6 #include "unwind.h"
7 
8 struct machine;
9 struct perf_sample;
10 struct thread;
11 
12 bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg);
13 
14 struct unwind_info {
15  Dwfl *dwfl;
17  struct machine *machine;
18  struct thread *thread;
20  void *arg;
21  int max_stack;
22  int idx;
24 };
25 
26 #endif /* __PERF_UNWIND_LIBDW_H */
void * arg
Definition: unwind-libdw.h:20
bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg)
Definition: unwind-libdw.c:7
unwind_entry_cb_t cb
Definition: unwind-libdw.h:19
int(* unwind_entry_cb_t)(struct unwind_entry *entry, void *arg)
Definition: unwind.h:19
Definition: thread.h:18
Definition: unwind.h:13
struct machine * machine
Definition: unwind-libdw.h:17
struct unwind_entry entries[]
Definition: unwind-libdw.h:23
struct thread * thread
Definition: unwind-libdw.h:18
struct perf_sample * sample
Definition: unwind-libdw.h:16
Dwfl * dwfl
Definition: unwind-libdw.h:15