Re: [PATCHv7 2.6.35-rc3-tip 11/11] perf: perf interface for uprobes

From: Masami Hiramatsu
Date: Thu Jul 01 2010 - 02:00:01 EST


Srikar Dronamraju wrote:
> perf: perf interface for uprobes
>
> Changelog from v4: Merged to 2.6.35-rc3-tip.
>
> Changelog from v3: (addressed comments from Masami Hiramatsu)
> * Every process id has a different group name.
> * event name starts with function name.
> * If vaddr is specified, event name has vaddr appended
> along with function name, (this is to avoid subsequent probes
> using same event name.)
> * warning if -p and --list options are used together.
>
> Also dso can either be a short name or absolute path.
>
> Enhances perf probe to accept pid and user vaddr.
> Provides very basic support for uprobes.

It's unsure what will happen if user sets a probe by line number...
I'd like to suggest you if need_dwarf && uid, it should show an error message.
But other parts are OK for me.

> TODO:
> Update perf-probes.txt.
> Global tracing.

Debuginfo support too ?:)

Thank you,
--
Masami HIRAMATSU
2nd Research Dept.
Hitachi, Ltd., Systems Development 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/