Re: [PATCH v4 3.0-rc2-tip 20/22] 20: perf: perf interface for uprobes

Masami Hiramatsu
2011-06-08T03:41:09Z

(2011/06/07 22:38), Ananth N Mavinakayanahalli wrote:
> On Tue, Jun 07, 2011 at 09:30:39AM -0400, Christoph Hellwig wrote:
>> On Tue, Jun 07, 2011 at 06:32:16PM +0530, Srikar Dronamraju wrote:
>>>
>>> Enhances perf probe to user space executables and libraries.
>>> Provides very basic support for uprobes.
>>
>> Nice. Does this require full debug info for symbolic probes,
>> or can it also work with simple symbolc information?
>
> It works only with symbol information for now.
> It doesn't (yet) know how to use debuginfo :-)

So we can enhance it to use debuginfo for obtaining
variables or line numbers from debuginfo. since
probe-finder already has the analysis part, I think
it's not hard to support userspace apps.

Thanks!

--
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@hitachi.com