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
  • Evan Green's avatar
    scripts/decode_stacktrace: Accept dash/underscore in modules · ca90bbd4
    Evan Green authored Jul 11, 2019
    The manpage for modprobe mentions that dashes and underscores are
    treated interchangeably in module names.  The stack trace dumps seem to
    print module names with underscores.  Use bash to replace _ with the
    pattern [-_] so that file names with dashes or underscores can be found.
    
    For example, this line:
    [   27.919759]  hda_widget_sysfs_init+0x2b8/0x3a5 [snd_hda_core]
    
    should find a module named snd-hda-core.ko.
    
    Link: http://lkml.kernel.org/r/20190531205926.42474-1-evgreen@chromium.org
    
    
    Signed-off-by: default avatarEvan Green <evgreen@chromium.org>
    Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
    Acked-by: default avatarKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
    Cc: Stephen Rothwell <sfr@canb.auug.org.au>
    Cc: Douglas Anderson <dianders@chromium.org>
    Cc: Evan Green <evgreen@chromium.org>
    Cc: Nicolas Boichat <drinkcat@chromium.org>
    Cc: Marc Zyngier <marc.zyngier@arm.com>
    Cc: Manuel Traut <manut@linutronix.de>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    ca90bbd4
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7