[PATCH -tip v2 0/9]perf probe bugfixes

Masami Hiramatsu
2011-08-11T11:26:32Z

Hi,

Here is the updated version of bugfix series for perf probe.
I've added some bugfixes which come up with newer gcc.

Changes:
- Update against recent changes on tip tree.
- Add several actual outputs of the command for explaining
the bugfix.
- Add a line-walker bugfix for showing file-based probe-able
lines correctly.
- Rewrite variable searching scope bugfix into 2 patches.
- Add 2 new debuginfo related bugfixes which I've found
with newer gcc on fedora 15.

Thank you,

---

Masami Hiramatsu (9):
[BUGFIX] perf probe: Filter out redundant inline-instances
[BUGFIX] perf probe: Search concrete out-of-line instances
[BUGFIX] perf probe: Avoid searching variables in intermediate scopes
[BUGFIX] perf probe: Fix to search local variables in appropriate scope
[BUGFIX] perf probe: Warn when more than one line are given
[BUGFIX] perf probe: Fix to walk all inline instances
[BUGFIX] perf probe: Fix to search nested inlined functions in CU
[BUGFIX] perf probe: Fix line walker to check CU correctly
[BUGFIX] perf-probe: Fix a memory leak for scopes array

tools/perf/builtin-probe.c | 14 ++
tools/perf/util/dwarf-aux.c | 210 ++++++++++++++++++++++++++++++++++--
tools/perf/util/dwarf-aux.h | 11 ++
tools/perf/util/probe-finder.c | 231 +++++++++++++++++++++++++---------------
tools/perf/util/probe-finder.h | 2
5 files changed, 360 insertions(+), 108 deletions(-)

--
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@hitachi.com