From: Masami Hiramatsu <mhiramat@redhat.com>
To: Ingo Molnar <mingo@elte.hu>, lkml<linux-kernel@vger.kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>,
Arnaldo Carvalho de Melo <acme@redhat.com>,
systemtap<systemtap@sources.redhat.com>,
DLE<dle-develop@lists.sourceforge.net>
Subject: [PATCH -tip 0/8] perf-probe updates
Date: Tue, 05 Jan 2010 22:40:00 -0000 [thread overview]
Message-ID: <20100105224634.19431.3259.stgit@dhcp-100-2-132.bos.redhat.com> (raw)
Hi Ingo,
Here are several bugfixes and updates of perf-probe and
kprobe-tracer.
This updates includes --line option support which you are
waiting for :-).
For kprobe-tracer, I decided to drop $argN support, because
the ABI for each function strongly depends on not only the
architecture but also the API of the function and gcc options.
Anyway, we already have perf-probe which allows us to find
register/memory assignment of each arguments.
Here are updated todo list.
Long-term TODOs (future features):
- Support lazy string matching(glob?) for selecting probing
line
- 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
- Move onto libdw/libdwfl
- Storing file name/line number information in the
kernel for listing events
Thank you,
---
Masami Hiramatsu (8):
perf probe: Support --line option to show probable source-code lines
perf tools: Enhance glob string matching
perf tools: Support tracepoint glob matching
perf probe: Show probe list in pager
[CLEANUP] perf probe: Remove newline from die()
x86/ptrace: Remove unused regs_get_argument_nth API
tracing/kprobe: Drop function argument access syntax
tracing/kprobe: Update example output in documentation
Documentation/trace/kprobetrace.txt | 48 ++++---
arch/x86/include/asm/ptrace.h | 4 -
arch/x86/kernel/ptrace.c | 24 ----
kernel/trace/trace_kprobe.c | 18 ---
tools/perf/Documentation/perf-probe.txt | 20 +++
tools/perf/builtin-probe.c | 80 ++++++++++--
tools/perf/util/parse-events.c | 11 +-
tools/perf/util/probe-event.c | 103 ++++++++++++++++
tools/perf/util/probe-event.h | 2
tools/perf/util/probe-finder.c | 203 +++++++++++++++++++++++++++++--
tools/perf/util/probe-finder.h | 31 +++++
tools/perf/util/string.c | 65 +++++++++-
12 files changed, 507 insertions(+), 102 deletions(-)
--
Masami Hiramatsu
Software Engineer
Hitachi Computer Products (America), Inc.
Software Solutions Division
e-mail: mhiramat@redhat.com
next reply other threads:[~2010-01-05 22:40 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-05 22:40 Masami Hiramatsu [this message]
2010-01-05 22:40 ` [PATCH -tip 5/8] perf probe: Show probe list in pager Masami Hiramatsu
2010-01-13 10:35 ` [tip:perf/core] " tip-bot for Masami Hiramatsu
2010-01-05 22:40 ` [PATCH -tip 1/8] tracing/kprobe: Update example output in documentation Masami Hiramatsu
2010-01-06 18:40 ` Steven Rostedt
2010-01-13 10:35 ` [tip:perf/core] " tip-bot for Masami Hiramatsu
2010-01-05 22:40 ` [PATCH -tip 3/8] x86/ptrace: Remove unused regs_get_argument_nth API Masami Hiramatsu
2010-01-13 10:36 ` [tip:perf/core] " tip-bot for Masami Hiramatsu
2010-01-05 22:40 ` [PATCH -tip 2/8] tracing/kprobe: Drop function argument access syntax Masami Hiramatsu
2010-01-13 10:35 ` [tip:perf/core] " tip-bot for Masami Hiramatsu
2010-01-05 22:41 ` [PATCH -tip 4/8] [CLEANUP] perf probe: Remove newline from die() Masami Hiramatsu
2010-01-13 10:36 ` [tip:perf/core] " tip-bot for Masami Hiramatsu
2010-01-05 22:41 ` [PATCH -tip 7/8] perf tools: Enhance glob string matching Masami Hiramatsu
2010-01-13 10:36 ` [tip:perf/core] " tip-bot for Masami Hiramatsu
2010-01-05 22:41 ` [PATCH -tip 8/8] perf probe: Support --line option to show probable source-code lines Masami Hiramatsu
2010-01-06 14:31 ` Masami Hiramatsu
2010-01-06 14:39 ` [PATCH -tip] " Masami Hiramatsu
2010-01-13 10:37 ` [tip:perf/core] " tip-bot for Masami Hiramatsu
2010-01-05 23:23 ` [PATCH -tip 6/8] perf tools: Support tracepoint glob matching Masami Hiramatsu
2010-01-13 10:36 ` [tip:perf/core] " tip-bot for Masami Hiramatsu
-- strict thread matches above, loose matches on Subject: below --
2009-12-08 21:58 [PATCH -tip 0/8] perf-probe updates Masami Hiramatsu
2009-12-09 7:22 ` Ingo Molnar
2009-12-09 8:44 ` Ingo Molnar
2009-12-09 17:36 ` Masami Hiramatsu
2009-12-09 21:41 ` Masami Hiramatsu
2009-12-11 20:51 ` Arnaldo Carvalho de Melo
2009-12-11 21:15 ` Masami Hiramatsu
2009-12-11 21:29 ` Arnaldo Carvalho de Melo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100105224634.19431.3259.stgit@dhcp-100-2-132.bos.redhat.com \
--to=mhiramat@redhat.com \
--cc=acme@redhat.com \
--cc=dle-develop@lists.sourceforge.net \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=systemtap@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).