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
;
16
struct
perf_sample
*
sample
;
17
struct
machine
*
machine
;
18
struct
thread
*
thread
;
19
unwind_entry_cb_t
cb
;
20
void
*
arg
;
21
int
max_stack
;
22
int
idx
;
23
struct
unwind_entry
entries
[];
24
};
25
26
#endif
/* __PERF_UNWIND_LIBDW_H */
unwind_info::idx
int idx
Definition:
unwind-libdw.h:22
perf_sample
Definition:
event.h:191
unwind_info::arg
void * arg
Definition:
unwind-libdw.h:20
machine
Definition:
machine.h:39
libdw__arch_set_initial_registers
bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg)
Definition:
unwind-libdw.c:7
unwind_info::cb
unwind_entry_cb_t cb
Definition:
unwind-libdw.h:19
unwind_entry_cb_t
int(* unwind_entry_cb_t)(struct unwind_entry *entry, void *arg)
Definition:
unwind.h:19
thread
Definition:
thread.h:18
unwind_entry
Definition:
unwind.h:13
unwind.h
unwind_info::machine
struct machine * machine
Definition:
unwind-libdw.h:17
unwind_info::max_stack
int max_stack
Definition:
unwind-libdw.h:21
unwind_info::entries
struct unwind_entry entries[]
Definition:
unwind-libdw.h:23
unwind_info::thread
struct thread * thread
Definition:
unwind-libdw.h:18
unwind_info::sample
struct perf_sample * sample
Definition:
unwind-libdw.h:16
unwind_info
Definition:
unwind-libdw.h:14
unwind_info::dwfl
Dwfl * dwfl
Definition:
unwind-libdw.h:15
util
unwind-libdw.h
Generated by
1.8.13