aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2017-03-21 16:00:50 -0300
committerArnaldo Carvalho de Melo <[email protected]>2017-03-21 16:00:50 -0300
commited7b339fb570749042332169e62541b208fc4296 (patch)
tree30d7d5f408fe6ad44691d8095f1cfffb6c5b5b25 /tools/perf/scripts/python/bin/stackcollapse-record
parente7cb9de211ebb2924d87fdeb77e50d74c2e673d1 (diff)
perf annotate: Add comment clarifying how the source code line is parsed
The source code line number (lineno) needs to be kept in accross calls to symbol__parse_objdump_line() when parsing the output of 'objdump -l -dS', so that it can associate it with the instructions till the next line. See disasm_line__new() and struct disasm_line::line_nr. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Taeung Song <[email protected]> Cc: Wang Nan <[email protected]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions