brintos

brintos / linux-shallow public Read only

0
0
Text · 574 B · 8c88bc4 Raw
28 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2#ifndef __PERF_UNWIND_LIBDW_H3#define __PERF_UNWIND_LIBDW_H4 5#include <elfutils/libdwfl.h>6#include "unwind.h"7 8struct machine;9struct perf_sample;10struct thread;11 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;22	int			idx;23	bool			best_effort;24	struct unwind_entry	entries[];25};26 27#endif /* __PERF_UNWIND_LIBDW_H */28