Messages in this thread | | | Date | Wed, 06 Jan 2010 09:33:28 -0500 | From | Masami Hiramatsu <> | Subject | Re: [PATCH -tip 8/8] perf probe: Support --line option to show probable source-code lines |
| |
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@redhat.com
| |