[lkml]   [2010]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subject[PATCH -tip v3 0/9] perf-probe updates - use elfutils and introduce lazy matching
    Hi Ingo,

    Here are several bugfixes and updates of perf-probe (v3).
    This updates includes moving onto elfutils-libdw and
    the lazy line matching support which you had mentioned :-)

    elfutils library is developed closely with gcc team,
    and it is simple and fast dwarf analysis library.

    lazy-matching is similar to glob matching but ignoring
    spaces in both of target and pattern.

    Changes in v3:
    - Cast Dwarf_Addr/Dwarf_Word to uintmax_t for printf-formats.
    - Recover a sign-prefix which was removed in v2 by mistake.

    Changes in v2:
    (Fixed bugs on x86-64)
    - Fix a type-casting bug in Makefile.
    - Cast Dwarf_Addr/Dwarf_Word to unsigned long long for

    This is updated todo list. Most of them are related
    to the 'type' support.

    Long-term TODOs (future features):
    - Enhance probe-finder to decode call frame instructions.
    - Support sys_perf_counter_open (for non-root users)
    - Support tracing static variables (non global)
    - Support variable types from debuginfo (e.g. char, int, ...)
    - Support fields of data structures (var->field)
    - Support array (var[N])
    - Support dynamic array-indexing (var[var2])
    - Support string/dynamic arrays (*var, var[N..M])
    - Support force type-casting ((type)var)
    - Support the type of return value

    - Better support for probes on modules
    - --list option shows the file-name/line-number of each events.
    - More debugger like enhancements(%next, --disasm, etc.)

    Thank you,


    Masami Hiramatsu (9):
    perf probe: Add lazy line matching support
    perf probe: show more lines after last line
    perf probe: Check function address range strictly in line finder
    perf probe: Use libdw callback routines
    perf probe: Use elfutils-libdw for analyzing debuginfo
    perf probe: Rename probe finder functions
    perf probe: Fix bugs in line range finder
    perf probe: Update perf probe document
    perf probe: Do not show --line option without dwarf support

    tools/perf/Documentation/perf-probe.txt | 58 ++
    tools/perf/Makefile | 10
    tools/perf/builtin-probe.c | 36 +
    tools/perf/util/probe-event.c | 55 +-
    tools/perf/util/probe-finder.c | 1002 ++++++++++++++-----------------
    tools/perf/util/probe-finder.h | 53 +-
    tools/perf/util/string.c | 55 +-
    tools/perf/util/string.h | 1
    8 files changed, 644 insertions(+), 626 deletions(-)

    Masami Hiramatsu

     \ /
      Last update: 2010-02-23 03:07    [W:0.045 / U:72.872 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site