Messages in this thread | | | From | Masami Hiramatsu <> | Subject | [BUGFIX PATCH 0/4] perf probe: Fixes bugs in show-lines and show vars etc. | Date | Wed, 30 Oct 2019 16:09:10 +0900 |
| |
Hi Arnaldo,
Here are some more patches for fixing bugs which I found while testing it.
- [1/4]: I found that the debuginfo had precise line information but including non-statement and end-of-sequence entries. Those must be ignored because not represent target line.
- [2/4]: I also found that there is GNU_call_site DIEs in debuginfo, which represents the location which calls another function. Since it is not an instance of inlined function, it must be ignored while searching instances of inlined function.
- [3/4]: However, while listing up the available lines, we also need to show the lines calling another function. So if call_line and call_file attribute are same as line information, it shows that line as available.
- [4/4]: It's a small fix to skip overlapped location while showing available variables.
Thank you,
---
Masami Hiramatsu (4): perf probe: Skip end-of-sequence and non statement lines perf probe: Filter out instances except for inlined subroutine and subprogram perf probe: Fix to show calling lines of inlined functions perf probe: Skip overlapped location on searching variables
tools/perf/util/dwarf-aux.c | 36 +++++++++++++++++++++++++++++------- tools/perf/util/probe-finder.c | 20 ++++++++++++++++++++ 2 files changed, 49 insertions(+), 7 deletions(-)
-- Masami Hiramatsu (Linaro) <mhiramat@kernel.org>
| |