Re: [PATCH] perf/probe: Provide perf interface for uprobes

From: Masami Hiramatsu
Date: Fri Apr 13 2012 - 02:28:06 EST


(2012/04/13 0:10), Srikar Dronamraju wrote:
>> $ perf probe libc malloc
>>
>> Makes it even easier to use.
>>
>> Its just when one asks for something that has ambiguities that
>> the tool should ask the user to be a bit more precise to remove such
>> ambiguity.
>>
>> After all...
>>
>
> Another case
> perf probe do_fork clone_flags now looks for variable clone_flags in
> kernel function do_fork.
>
> But if we allow to trace perf probe zsh zfree; then
> 'perf probe do_fork clone_flags' should it check for do_fork executable
> or not? If it does check and finds one, and searches for clone_flags
> function and doesnt find, then should it continue with searching the
> kernel?
>

Agree. I'd like to suggest you to start with only full path support,
and see, how we can handle abbreviations :)

Thank you,

--
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@xxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/