Re: [PATCH -tip 8/8] perf probe: Support --line option to show probablesource-code lines

From: Masami Hiramatsu
Date: Wed Jan 06 2010 - 09:32:30 EST


Masami Hiramatsu wrote:
> Add --line option to support showing probable source-code lines.
>
> perf probe --line SRC:LN[-LN|+NUM]
> or
> perf probe --line FUNC[:LN[-LN|+NUM]]
>
> This option shows source-code with line number if the line can be
> probed. Lines without line number (and blue color) means that the
> line can not be probed, because debuginfo doesn't have the
> information of those lines.
>
> The argument specifies the range of lines, "source.c:100-120" shows
> lines between 100th to l20th in source.c file. And "func:10+20"
> shows 20 lines from 10th line of func function.

Oops, I found this will conflict with Arnaldo's patch.
I'll update this on his patches.

Thank you,
--
Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America), Inc.
Software Solutions Division

e-mail: mhiramat@xxxxxxxxxx

--
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/