[PATCH 3/4] perf annotate: Change the method counting line numbers

2017-02-22 Thread Taeung Song
Currently line numbers are wrong due to just counting according to output of 'objdump -S' So remove needless local variables (line_nr, lineno) and get correct line numbers according to each address in symbol__get_source_line(). Cc: Namhyung Kim Cc: Jiri Olsa

[PATCH 3/4] perf annotate: Change the method counting line numbers

2017-02-22 Thread Taeung Song
Currently line numbers are wrong due to just counting according to output of 'objdump -S' So remove needless local variables (line_nr, lineno) and get correct line numbers according to each address in symbol__get_source_line(). Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song ---