提交 5550171b 编写于 作者: A Andi Kleen 提交者: Arnaldo Carvalho de Melo

perf callchain: Use al.addr to set up call chain

Use the relative address, this makes get_srcline work correctly in the
end.
Signed-off-by: NAndi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1415844328-4884-4-git-send-email-andi@firstfloor.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
上级 37592b8a
......@@ -1406,7 +1406,7 @@ static int add_callchain_ip(struct thread *thread,
}
}
return callchain_cursor_append(&callchain_cursor, ip, al.map, al.sym);
return callchain_cursor_append(&callchain_cursor, al.addr, al.map, al.sym);
}
struct branch_info *sample__resolve_bstack(struct perf_sample *sample,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册