This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3 2.6.39-rc1-tip 23/26] 23: perf: show possible probes in a given executable file or library.


* Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> [2011-04-04 19:15:11]:

> (2011/04/01 23:37), Srikar Dronamraju wrote:
> > Enhances -F/--funcs option of "perf probe" to list possible probe points in
> > an executable file or library. A new option -e/--exe specifies the path of
> > the executable or library.
> 
> I think you'd better use -x for abbr. of --exe, since -e is used for --event
> for other subcommands.

Okay, 

> 
> And also, it seems this kind of patch should be placed after perf-probe
> uprobe support patch, because without uprobe support, user binary analysis
> is meaningless. (In the result, this introduces -u/--uprobe option without
> uprobe support)
> 

Okay, I can do that, Should we do the listing before or after the uprobe
can place a breakpoint is arguable.

> 
> > Show last 10 functions in /bin/zsh.
> > 
> > # perf probe -F -u -e /bin/zsh | tail
> 
> I also can't understand why -u is required even if we have -x for user
> binaries and -m for kernel modules.
> 

yes, for the listing we can certainly do without -u option.

-- 
Thanks and Regards
Srikar


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]