Re: [BUGFIX PATCH 3/4] perf probe: Fix to show calling lines of inlined functions

From: Arnaldo Carvalho de Melo
Date: Wed Nov 06 2019 - 15:08:52 EST


Em Wed, Oct 30, 2019 at 04:09:40PM +0900, Masami Hiramatsu escreveu:
> Fix to show calling lines of inlined functions (where an
> inline function is called).
>
> die_walk_lines() filtered out the lines inside inlined functions
> based on the address. However this also filtered out the lines
> which call those inlined functions from the target function.
>
> To solve this issue, check the call_file and call_line attributes
> and do not filter out if it matches to the line information.
>
> Without this fix, perf probe -L doesn't show some lines correctly.
> (don't see the lines after 17)

Thanks, tested before and after and applied,

- Arnaldo