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
  • decodecode
Find file BlameHistoryPermalink
  • Arjan van de Ven's avatar
    scripts: improve the decodecode script · 846442c8
    Arjan van de Ven authored Dec 01, 2008
    
    
    kerneloops.org has been using an improved "decodecode" script,
    specifically it has a special marker that shows which line in the assembly
    the oops happened at, like this:
    
      20:	83 e0 03             	and    $0x3,%eax
      23:	09 d8                	or     %ebx,%eax
      25:	85 db                	test   %ebx,%ebx
      27:	89 02                	mov    %eax,(%edx)
      29:	74 0f                	je     0x3a
      2b:*	3b 73 04             	cmp    0x4(%ebx),%esi     <-- trapping instruction
      2e:	75 05                	jne    0x35
      30:	89 53 04             	mov    %edx,0x4(%ebx)
      33:	eb 07                	jmp    0x3c
      35:	89 53 08             	mov    %edx,0x8(%ebx)
    
    this patch updates the kernel copy to also have this functionality.
    
    Signed-off-by: default avatarArjan van de Ven <arjan@linux.intel.com>
    Reviewed-by: default avatarWANG Cong <wangcong@zeuux.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    846442c8
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7