/* Gets called by walk_stackframe() for every stackframe. This will be called whist unwinding the stackframe and is like a subroutine return so we use the PC.  */
static int callchain_trace(struct stackframe *fr, void *data)
/* Gets called by walk_stackframe() for every stackframe. This will be called whist unwinding the stackframe and is like a subroutine return so we use the PC.  */
static int callchain_trace(struct stackframe *fr, void *data)
{
	struct perf_callchain_entry *entry = data;
	callchain_store(entry, fr->pc);
	return 0;
}