Skip to content
Snippets Groups Projects
Commit 2aab9c3c authored by NeilBrown's avatar NeilBrown Committed by Linus Torvalds
Browse files

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: default avatarNeilBrown <neilb@suse.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3206e7d5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment