Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __PERF_UNWIND_LIBDW_H
0003 #define __PERF_UNWIND_LIBDW_H
0004 
0005 #include <elfutils/libdwfl.h>
0006 #include "unwind.h"
0007 
0008 struct machine;
0009 struct perf_sample;
0010 struct thread;
0011 
0012 bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg);
0013 
0014 struct unwind_info {
0015     Dwfl            *dwfl;
0016     struct perf_sample      *sample;
0017     struct machine          *machine;
0018     struct thread           *thread;
0019     unwind_entry_cb_t   cb;
0020     void            *arg;
0021     int         max_stack;
0022     int         idx;
0023     bool            best_effort;
0024     struct unwind_entry entries[];
0025 };
0026 
0027 #endif /* __PERF_UNWIND_LIBDW_H */