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
  • linux
  • scripts
  • decode_stacktrace.sh
Find file BlameHistoryPermalink
  • Luca Ceresoli's avatar
    scripts/decode_stacktrace.sh: add '-h' flag · 7e108359
    Luca Ceresoli authored Aug 23, 2024
    When no parameters are passed, the usage instructions are presented only
    when debuginfod-find is not found.  This makes sense because with
    debuginfod none of the positional parameters are needed.  However it means
    that users having debuginfod-find installed will have no chance of reading
    the usage text without opening the file.
    
    Many programs have a '-h' flag to get the usage, so add such a flag. 
    Invoking 'scripts/decode_stacktrace.sh -h' will now show the usage text
    and exit.
    
    Link: https://lkml.kernel.org/r/20240823-decode_stacktrace-find_module-improvements-v2-3-d7a57d35558b@bootlin.com
    
    
    Signed-off-by: default avatarLuca Ceresoli <luca.ceresoli@bootlin.com>
    Reviewed-by: default avatarStephen Boyd <swboyd@chromium.org>
    Cc: Alexis Lothoré (eBPF Foundation) <alexis.lothore@bootlin.com>
    Cc: Konstantin Khlebnikov <koct9i@gmail.com>
    Cc: Sasha Levin <sashal@kernel.org>
    Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    7e108359
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7