Re: Fixing stack trace function names by argument introspection
Yonghong Song
On Tue, Jul 24, 2018 at 9:06 AM, marko@... <marko@...> wrote:
It is a piece of complicated software, let me see how much I can do. Yes, it is `#pragma unroll`. Not 100% whether just frame pointers are enough for you or not.As far as I understand it would work if my program is built with frame Remeber, on the stack, typically only frame pointer (if available), function return address, spills, and #7 and later arguments. It is very likely the case that `fn_name` in `execute_fn(fn_name)` may not on the stack and you need to find a different way to access it. But usually programs are build omitting frame pointers. In that case youWe are talking about stack walking inside bpf programs, dwarf option is certainly out of question. In that case, you may need to use perf record dwarf...
|
|