From: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Arnaldo Carvalho de Melo <acme@redhat.com>,
Steven Rostedt <rostedt@goodmis.org>,
LKML <linux-kernel@vger.kernel.org>,
Frederic Weisbecker <fweisbec@gmail.com>,
Thomas Gleixner <tglx@linutronix.de>,
2nddept-manager@sdl.hitachi.co.jp
Subject: Re: [PATCHv7 2.6.35-rc3-tip 0/11] Uprobes Patches:
Date: Thu, 01 Jul 2010 18:17:53 +0900 [thread overview]
Message-ID: <4C2C5D41.40807@hitachi.com> (raw)
In-Reply-To: <20100701081942.GA19826@elte.hu>
Ingo Molnar wrote:
> * Srikar Dronamraju <srikar@linux.vnet.ibm.com> wrote:
>
>> Hi Ingo,
>>
>> I have addressed all comments to the uprobes patchset. We have few todos
>> (most of them are features over the current code) which I plan to work in
>> the immediate future.
>>
>> So would it be possible for this patchset to be picked into the tip tree.
>> Getting these patches merged into the tip tree would help in getting more
>> comments/feedback and testing.
>
> If Masami-san, PeterZ and Arnaldo is happy with it being tried in its current
> form then we could try it.
At least ftrace/perf side, it's almost good for me. (but I need time to test it)
> Assuming everyone is reasonably happy about the code, here are some open areas
> as i see them, before we can think about pushing things from -tip towards
> upstream:
>
> - One thing i havent seen is the ability to 'list' potential probe points:
> i.e. function names. Often the user will not know precisely where to look
> and what to type. This leaves our probe capability under-utilized in
> practice.
It will be the next step for perf-(u)probe, debuginfo support. Since
the perf-(k)probe already support in which function the probe is put,
I think if perf-(u)probe support debuginfo, it's easy to be implemented.
> - On a similar note, it might also make sense to extend the Newt interface to
> perf report to integrate probes: if a function looks high-overhead, then a
> probe point could be inserted and the app could be traced straight away. We
> already allow per function actions in the Newt interface, such as assembly
> annotation - the adding of a probe point would be quite useful.
Hmm, does that mean that user puts a new probe point from Newt interface?
That's a good idea:)
> - [ Optional: Another interesting area to look at would be the scripting
> engine: allow trace scripts to insert probes if they are not present yet. ]
Sure, that's what I hope. :)
> - Plus the security model is an open question as well. Right now it's
> root-only, but it would make sense to allow users to insert probes into
> their own apps. This brings up the next point:
Hmm, put a probe in user-space(by owner) may be good. But
inside the kernel, there are more sensitive informations...
> - Proper syscall integration and more unification with kprobes and with the
> TRACE_EVENT() universe. As far as API design goes,
> /sys/kernel/debug/tracing/uprobe_events is quite sucky as a concept.
Yeah, we can extend the interface and merge it. But removing all
debugfs interfaces should be discussed.
Thank you,
>
> Thanks,
>
> Ingo
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2010-07-01 9:18 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-29 18:34 [PATCHv7 2.6.35-rc3-tip 0/11] Uprobes Patches: Srikar Dronamraju
2010-06-29 18:35 ` [PATCHv7 2.6.35-rc3-tip 1/11] mm: Move replace_page() / write_protect_page() to mm/memory.c Srikar Dronamraju
2010-06-29 18:35 ` [PATCHv7 2.6.35-rc3-tip 2/11] uprobes: Breakpoint insertion/removal in user space applications Srikar Dronamraju
2010-06-29 18:35 ` [PATCHv7 2.6.35-rc3-tip 3/11] uprobes: Slot allocation for Execution out of line(XOL) Srikar Dronamraju
2010-06-29 18:35 ` [PATCHv7 2.6.35-rc3-tip 4/11] uprobes: x86 specific functions for user space breakpointing Srikar Dronamraju
2010-06-29 18:35 ` [PATCHv7 2.6.35-rc3-tip 5/11] uprobes: Uprobes (un)registration and exception handling Srikar Dronamraju
2010-06-29 18:36 ` [PATCHv7 2.6.35-rc3-tip 6/11] uprobes: X86 support for Uprobes Srikar Dronamraju
2010-06-29 18:36 ` [PATCHv7 2.6.35-rc3-tip 7/11] uprobes: Uprobes Documentation Srikar Dronamraju
2010-06-29 18:36 ` [PATCHv7 2.6.35-rc3-tip 8/11] trace: Extract out common code for kprobes/uprobes traceevents Srikar Dronamraju
2010-06-29 18:36 ` [PATCHv7 2.6.35-rc3-tip 9/11] trace: uprobes trace_event interface Srikar Dronamraju
2010-06-29 18:36 ` [PATCHv7 2.6.35-rc3-tip 10/11] perf: Re-Add make_absolute_path Srikar Dronamraju
2010-06-29 18:37 ` [PATCHv7 2.6.35-rc3-tip 11/11] perf: perf interface for uprobes Srikar Dronamraju
2010-07-01 5:59 ` Masami Hiramatsu
2010-07-02 11:25 ` Masami Hiramatsu
2010-07-02 11:28 ` Srikar Dronamraju
2010-07-06 0:27 ` Masami Hiramatsu
2010-07-01 5:02 ` [PATCHv7 2.6.35-rc3-tip 0/11] Uprobes Patches: Srikar Dronamraju
2010-07-01 8:19 ` Ingo Molnar
2010-07-01 9:17 ` Masami Hiramatsu [this message]
2010-07-01 9:58 ` Ingo Molnar
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=4C2C5D41.40807@hitachi.com \
--to=masami.hiramatsu.pt@hitachi.com \
--cc=2nddept-manager@sdl.hitachi.co.jp \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@redhat.com \
--cc=fweisbec@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rostedt@goodmis.org \
--cc=srikar@linux.vnet.ibm.com \
--cc=tglx@linutronix.de \
/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