sponsor Vim development Vim logo Vim Book Ad

oops_trace.vim : oops_trace.vim - Use tag-style lookups on Linux kernel oops backtraces.

 script karma  Rating 5/2, Downloaded by 1634  Comments, bugs, improvements  Vim wiki

created by
Ross Zwisler
 
script type
patch
 
description
This script lets you use tag-style lookups (i.e. C-] ) on Linux kernel oops
stack traces.  For this to work, you need the following:
1) The log file with the stack trace needs to be recognized as having
   filetype=messages, which is hopefully the default.  If not, run
'set filetype=messages'.
2) You need to have built your kernel with debug symbols
   (CONFIG_DEBUG_INFO=y).
3) Vim needs to have its PWD in your Linux build directory, or you need to
   set up the g:oops_path global variable to your build directory.  i.e.:
   let g:oops_path='/home/myuser/linux-kernel'
 
install details
Just copy to your ~/.vim/plugin directory.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
oops_trace.vim 1.4 2021-01-13 7.0 Ross Zwisler Some bug fixes and additional debug.
oops_trace.vim 1.3 2019-01-17 7.0 Ross Zwisler Fixed a few bugs and added a bit more debug for when things go wrong.
oops_trace.vim 1.2 2013-11-19 7.0 Ross Zwisler Trying again to fix issues with cloned function lookups.
oops_trace.vim 1.1 2013-11-08 7.0 Ross Zwisler Fixed a regexp to deal with kernel functions that have been cloned by GCC.
oops_trace.vim 1.0 2013-08-13 7.0 Ross Zwisler Initial upload
ip used for rating: 18.97.14.85

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github