aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-sqlite-report
diff options
context:
space:
mode:
authorMilian Wolff <[email protected]>2017-08-06 23:24:45 +0200
committerArnaldo Carvalho de Melo <[email protected]>2017-08-11 16:06:31 -0300
commitd964b1cdbd94f359f1f65f81440be84ceb45978e (patch)
tree350064574063c40a8d9f8a3ac2b4145a3af0daa0 /tools/perf/scripts/python/bin/export-to-sqlite-report
parent80c345b255cbb4e9dfb193bf0bf5536217237f6a (diff)
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-sqlite-report')
0 files changed, 0 insertions, 0 deletions