public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [PATCH -tip 0/9] perf-probe updates - use elfutils and introduce lazy  matching
@ 2010-02-18 23:20 Masami Hiramatsu
  2010-02-18 23:20 ` [PATCH -tip 2/9] perf probe: Update perf probe document Masami Hiramatsu
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Masami Hiramatsu @ 2010-02-18 23:20 UTC (permalink / raw)
  To: Ingo Molnar, lkml
  Cc: Paul Mackerras, Arnaldo Carvalho de Melo, Steven Rostedt,
	Jim Keniston, Ananth N Mavinakayanahalli, Christoph Hellwig,
	Frank Ch. Eigler, Jason Baron, K.Prasad, Peter Zijlstra,
	Srikar Dronamraju, Ulrich Drepper, Roland McGrath,
	Mike Galbraith, systemtap, DLE

Hi Ingo,

Here are several bugfixes and updates of perf-probe.
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.

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

Miscs:
  - Better support for probes on modules
  - --list option shows the file-name/line-number of each events.
  

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          |  994 ++++++++++++++-----------------
 tools/perf/util/probe-finder.h          |   53 +-
 tools/perf/util/string.c                |   55 +-
 tools/perf/util/string.h                |    1 
 8 files changed, 639 insertions(+), 623 deletions(-)

-- 
Masami Hiramatsu
e-mail: mhiramat@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-02-22 10:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-18 23:20 [PATCH -tip 0/9] perf-probe updates - use elfutils and introduce lazy matching Masami Hiramatsu
2010-02-18 23:20 ` [PATCH -tip 2/9] perf probe: Update perf probe document Masami Hiramatsu
2010-02-18 23:20 ` [PATCH -tip 3/9] perf probe: Fix bugs in line range finder Masami Hiramatsu
2010-02-18 23:20 ` [PATCH -tip 4/9] perf probe: Rename probe finder functions Masami Hiramatsu
2010-02-18 23:20 ` [PATCH -tip 1/9] perf probe: Do not show --line option without dwarf support Masami Hiramatsu
2010-02-18 23:21 ` [PATCH -tip 5/9] perf probe: Use elfutils-libdw for analyzing debuginfo Masami Hiramatsu
2010-02-21 21:14   ` [Dle-develop] " Masami Hiramatsu
2010-02-22 10:29     ` Ingo Molnar
2010-02-18 23:21 ` [PATCH -tip 7/9] perf probe: Check function address range strictly in line finder Masami Hiramatsu
2010-02-18 23:21 ` [PATCH -tip 8/9] perf probe: show more lines after last line Masami Hiramatsu
2010-02-18 23:21 ` [PATCH -tip 6/9] perf probe: Use libdw callback routines Masami Hiramatsu
2010-02-18 23:22 ` [PATCH -tip 9/9] perf probe: Add lazy line matching support Masami Hiramatsu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).