Telem GW kernel debug: Difference between revisions

From Phobos Wiki
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:
** Tracers
** Tracers
*** Kernel Function Tracer
*** Kernel Function Tracer
*** Trace max Stack
*** Trace SLAB allocations
*** Kernel function profiler
*** Kernel function profiler
**Fault-injection framework
**Fault-injection framework

Revision as of 10:32, 3 March 2015

Kernel Conf

Additions

  • Kernel Hacking
    • KGDB: kernel debugger
      • KGDB: use kgdb over the serial console
      • KGDB_KDB: include kdb frontend for kgdb
    • Kernel memory leak detector
    • (40000) Maximum kmemleak early log entries
    • Tracers
      • Kernel Function Tracer
      • Trace max Stack
      • Trace SLAB allocations
      • Kernel function profiler
    • Fault-injection framework
      • Fault-injection capability for kmalloc
      • Fault-injection capability for allow_pages()
      • Fault-injection capability for disk IO
      • Fault-injection capability for faking disk interrupts
      • Debugfs entries for fault-injection capabilities
        • stacktrace filter for fault-injection capabilities
    • Enable stack utilization instrumentation

Other

Add kernel boot argument

console=ttymxc0


Add

nodev   /sys/kernel/debug      debugfs  defaults          0      0

at the end of buildroot/system/skeleton/etc/fstab

MarkTomm 1. märts 2015, kell 16:58 (EET)