#ifndef __PERF_UNWIND_LIBDW_H
#define __PERF_UNWIND_LIBDW_H

#include <elfutils/libdwfl.h>
#include "event.h"
#include "thread.h"
#include "unwind.h"

bool libdw__arch_set_initial_registers(Dwfl_Thread *thread, void *arg);

struct unwind_info {
	Dwfl			*dwfl;
	struct perf_sample      *sample;
	struct machine          *machine;
	struct thread           *thread;
	unwind_entry_cb_t	cb;
	void			*arg;
	int			max_stack;
	int			idx;
	struct unwind_entry	entries[];
};

#endif /* __PERF_UNWIND_LIBDW_H */
t Git repository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='56067812d5b0e737ac2063e94a50f76b810d6ca3'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master' selected='selected'>master</option>
<option value='nds-private-remove'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=56067812d5b0e737ac2063e94a50f76b810d6ca3'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/include/net/phonet'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/net/phonet?id=56067812d5b0e737ac2063e94a50f76b810d6ca3'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/net/phonet?id=56067812d5b0e737ac2063e94a50f76b810d6ca3'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/net/phonet?id=56067812d5b0e737ac2063e94a50f76b810d6ca3'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/net/phonet'>
<input type='hidden' name='id' value='56067812d5b0e737ac2063e94a50f76b810d6ca3'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=56067812d5b0e737ac2063e94a50f76b810d6ca3'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/include?id=56067812d5b0e737ac2063e94a50f76b810d6ca3'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/net?id=56067812d5b0e737ac2063e94a50f76b810d6ca3'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/net/phonet?id=56067812d5b0e737ac2063e94a50f76b810d6ca3'>phonet</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/include/net/phonet?id=56067812d5b0e737ac2063e94a50f76b810d6ca3&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>