Difference between revisions of "Exception Analysis tools"
(Created page with "There are lots of tools for Linux for analyzing and debugging exceptions in both the kernel and user-space programs. == Outline == * capturing information ** information emitted...") |
|||
Line 8: | Line 8: | ||
** process exceptions | ** process exceptions | ||
*** android tombstones (exception summaries) | *** android tombstones (exception summaries) | ||
+ | **** see http://kobablog.wordpress.com/2011/05/14/how-to-read-crash-dump-of-android/ | ||
*** Sony exception monitor log | *** Sony exception monitor log | ||
*** coredumps (full process image) | *** coredumps (full process image) | ||
Line 17: | Line 18: | ||
** [[GDB]] is used with coredump files | ** [[GDB]] is used with coredump files | ||
*** see [[GDB#Core_dump]] | *** see [[GDB#Core_dump]] | ||
+ | ** For Sony's EM log: emlogconv, em-log-process | ||
+ | |||
+ | == Debugging the kernel == | ||
+ | (this section is only here temporarily) | ||
+ | * target agents: | ||
+ | ** connectors: | ||
+ | *** adb | ||
+ | *** what do WR, MV and others use to set up or connect the debugger to the process? | ||
+ | ** debug agents | ||
+ | *** gdbserver | ||
+ | *** kgdb | ||
+ | * host agents: | ||
+ | ** adb server | ||
+ | * debuggers: | ||
+ | ** gdb |
Revision as of 15:22, 6 June 2011
There are lots of tools for Linux for analyzing and debugging exceptions in both the kernel and user-space programs.
Outline
- capturing information
- information emitted to kernel buffer
- serial console, net console, (other consoles - USB?)
- Oops savers: mtdoops, pstore, ramoops, netoops
- process exceptions
- android tombstones (exception summaries)
- Sony exception monitor log
- coredumps (full process image)
- kernel image
- kdump
- see Kernel crash logging and core dump - Kong Wang, Redhat, at LinuxCon Japan 2011
- kdump
- information emitted to kernel buffer
- parsing information
- oops analysis: http://madwifi-project.org/wiki/DevDocs/KernelOops
- GDB is used with coredump files
- see GDB#Core_dump
- For Sony's EM log: emlogconv, em-log-process
Debugging the kernel
(this section is only here temporarily)
- target agents:
- connectors:
- adb
- what do WR, MV and others use to set up or connect the debugger to the process?
- debug agents
- gdbserver
- kgdb
- connectors:
- host agents:
- adb server
- debuggers:
- gdb