Skip to content

perf probe bugfixes

Masami Hiramatsu lkml 2 versions – In review

Get series with b4
b4 am 20110811110220.19900.54963.stgit@fedora15

Versions newest first · linked by author and title

  1. v2 Latest9 patches 9 repliesIn review
  2. v15 patches 5 repliesSuperseded

Changes from the cover letter

- 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.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9perf-probe: Fix a memory leak for scopes arraytools/perf/util/probe-finder.c+2 -31 reply
2/9perf probe: Fix line walker to check CU correctlytools/perf/util/dwarf-aux.c+3 -31 reply
3/9perf probe: Fix to search nested inlined functions in CUtools/perf/util/dwarf-aux.c tools/perf/util/dwarf-aux.h+82 -121 reply
4/9perf probe: Fix to walk all inline instancestools/perf/util/probe-finder.c+7 -11 reply
5/9perf probe: Warn when more than one line are giventools/perf/builtin-probe.c+11 -31 reply
6/9perf probe: Fix to search local variables in appropriate scopetools/perf/util/dwarf-aux.c tools/perf/util/dwarf-aux.h tools/perf/util/probe-finder.c +1 more+144 -271 reply
7/9perf probe: Avoid searching variables in intermediate scopestools/perf/util/probe-finder.c+13 -311 reply
8/9perf probe: Search concrete out-of-line instancestools/perf/util/dwarf-aux.c tools/perf/util/dwarf-aux.h tools/perf/util/probe-finder.c+83 -351 reply
9/9perf probe: Filter out redundant inline-instancestools/perf/util/dwarf-aux.c+22 -01 reply

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchPekka Enberg
1/9R-b R-b
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)
Signature · 4 lines
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: [email protected]