diff options
| author | Milian Wolff <[email protected]> | 2017-08-06 21:24:45 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-08-11 19:06:31 +0000 |
| commit | d964b1cdbd94f359f1f65f81440be84ceb45978e (patch) | |
| tree | 350064574063c40a8d9f8a3ac2b4145a3af0daa0 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | perf util: Take elf_name as const string in dso__demangle_sym (diff) | |
| download | kernel-d964b1cdbd94f359f1f65f81440be84ceb45978e.tar.gz kernel-d964b1cdbd94f359f1f65f81440be84ceb45978e.zip | |
perf srcline: Do not consider empty files as valid srclines
Sometimes we get a non-null, but empty, string for the filename from
bfd. This then results in srclines of the form ":0", which is different
from the canonical SRCLINE_UNKNOWN in the form "??:0". Set the file to
NULL if it is empty to fix this.
Signed-off-by: Milian Wolff <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Yao Jin <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions
