lkml.org 
[lkml]   [2010]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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



    \
     
     \ /
      Last update: 2010-01-06 15:35    [W:0.023 / U:4.532 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site