]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - tools/perf/util/unwind-libdw.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / tools / perf / util / unwind-libdw.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
5ea84154
JO
2#ifndef __PERF_UNWIND_LIBDW_H
3#define __PERF_UNWIND_LIBDW_H
4
5#include <elfutils/libdwfl.h>
5ea84154
JO
6#include "unwind.h"
7
e7ff8920
ACM
8struct machine;
9struct perf_sample;
10struct thread;
11
5ea84154
JO
12bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg);
13
14struct 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;
8bd508b0
JO
22 int idx;
23 struct unwind_entry entries[];
5ea84154
JO
24};
25
26#endif /* __PERF_UNWIND_LIBDW_H */