Difference between revisions of "Exception Analysis tools"
Line 8: | Line 8: | ||
** process exceptions | ** process exceptions | ||
*** android tombstones (exception summaries) | *** android tombstones (exception summaries) | ||
− | **** see http://kobablog.wordpress.com/2011/05/ | + | **** see http://kobablog.wordpress.com/2011/05/12/debuggerd-of-android/ |
+ | |||
*** Sony exception monitor log | *** Sony exception monitor log | ||
*** coredumps (full process image) | *** coredumps (full process image) | ||
Line 19: | Line 20: | ||
*** see [[GDB#Core_dump]] | *** see [[GDB#Core_dump]] | ||
** For Sony's EM log: emlogconv, em-log-process | ** For Sony's EM log: emlogconv, em-log-process | ||
− | + | ** debuggerd analysis | |
+ | *** see http://kobablog.wordpress.com/2011/05/14/how-to-read-crash-dump-of-android/ | ||
== Debugging the kernel == | == Debugging the kernel == | ||
(this section is only here temporarily) | (this section is only here temporarily) |
Revision as of 15:24, 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)
- information emitted to kernel buffer
- 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
- 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
- debuggerd analysis
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