xref: /kernel/linux/linux-6.6/tools/perf/util/unwind-libdw.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/perf/util/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __PERF_UNWIND_LIBDW_H
362306a36Sopenharmony_ci#define __PERF_UNWIND_LIBDW_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#include <elfutils/libdwfl.h>
662306a36Sopenharmony_ci#include "unwind.h"
762306a36Sopenharmony_ci
862306a36Sopenharmony_cistruct machine;
962306a36Sopenharmony_cistruct perf_sample;
1062306a36Sopenharmony_cistruct thread;
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_cibool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg);
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_cistruct unwind_info {
1562306a36Sopenharmony_ci	Dwfl			*dwfl;
1662306a36Sopenharmony_ci	struct perf_sample      *sample;
1762306a36Sopenharmony_ci	struct machine          *machine;
1862306a36Sopenharmony_ci	struct thread           *thread;
1962306a36Sopenharmony_ci	unwind_entry_cb_t	cb;
2062306a36Sopenharmony_ci	void			*arg;
2162306a36Sopenharmony_ci	int			max_stack;
2262306a36Sopenharmony_ci	int			idx;
2362306a36Sopenharmony_ci	bool			best_effort;
2462306a36Sopenharmony_ci	struct unwind_entry	entries[];
2562306a36Sopenharmony_ci};
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci#endif /* __PERF_UNWIND_LIBDW_H */
28

Indexes created Thu Nov 07 10:32:03 CST 2024