|
From: Masami H. <mhi...@re...> - 2010-01-06 14:32:22
|
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: mhi...@re... |