Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • scripts
  • decode_stacktrace.sh
Find file BlameHistoryPermalink
  • Konstantin Khlebnikov's avatar
    scripts/decode_stacktrace.sh: skip missing symbols · f643b9ee
    Konstantin Khlebnikov authored Aug 06, 2020
    
    
    For now script turns missing symbols into '0' and make bogus decode.  Skip
    them instead.  Also simplify parsing output of 'nm'.
    
    Before:
    
    $ echo 'xxx+0x0/0x0' | ./scripts/decode_stacktrace.sh vmlinux ""
    xxx (home/khlebnikov/src/linux/./arch/x86/include/asm/processor.h:398)
    
    After:
    
    $ echo 'xxx+0x0/0x0' | ./scripts/decode_stacktrace.sh vmlinux ""
    xxx+0x0/0x0
    
    Signed-off-by: default avatarKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Cc: Sasha Levin <sashal@kernel.org>
    Link: http://lkml.kernel.org/r/159282922499.248444.4883465570858385250.stgit@buzz
    
    
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    f643b9ee
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7