aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2017-10-12 14:22:04 +1100
committerLinus Torvalds <[email protected]>2017-10-12 12:26:52 -0700
commit2aab9c3ca47dd4fcc19a8743c6e4d348640dd3fa (patch)
tree9cbb926764c55f857ea6a367c96514a53d4b8897 /tools/perf/scripts/python/export-to-sqlite.py
parent3206e7d5e25ef94b5a29e2c81e6fb8d5fb48422f (diff)
scripts: fix faddr2line to work on last symbol
If faddr2line is given a function name which is the last one listed by "nm -n", it will fail because it never finds the next symbol. So teach the awk script to catch that possibility, and use 'size' to provide the end point of the last function. Signed-off-by: NeilBrown <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions