Skip to content

perf/probe: Fix available line bugs

Masami Hiramatsu lkml 1 version Applied

Status from this message: Thanks, applied, next time please provide concrete examples for things

Get series with b4
b4 am 157190834681.1859.7399361844806238387.stgit@devnote2

Versions newest first

  1. v1 Latest3 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3perf/probe: Fix to find range-only function instancetools/perf/util/dwarf-aux.c+5 -10 replies
2/3perf/probe: Walk function lines in lexical blockstools/perf/util/dwarf-aux.c+9 -50 replies
3/3perf/probe: Fix to show function entry line as probe-abletools/perf/util/dwarf-aux.c tools/perf/util/dwarf-aux.h+26 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [BUGFIX PATCH 0/3] perf/probe: Fix available line bugs

Hi,

Here are some bugfixes related to showing available line (--line/-L) option. I found that gcc generated some subprogram DIE with only range attribute but no entry_pc or low_pc attributes.
In that case, perf probe failed to show the available lines in that subprogram (function). To fix that, I introduced some bugfixes to handle such cases correctly.

Thank you,

---

Masami Hiramatsu (3):
perf/probe: Fix to find range-only function instance perf/probe: Walk function lines in lexical blocks perf/probe: Fix to show function entry line as probe-able

 tools/perf/util/dwarf-aux.c |   44 ++++++++++++++++++++++++++++++++++++-------
 tools/perf/util/dwarf-aux.h |    3 +++
 2 files changed, 40 insertions(+), 7 deletions(-)

--
Masami Hiramatsu (Linaro) <[email protected]>