kernel_hacking
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| kernel_hacking [2009/11/27 17:34] – created suapapa | kernel_hacking [2013/08/03 05:04] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | 커널 해킹 팁 페이지 | ||
| + | ====== momory leak detection ====== | ||
| + | CONFIG_DEBUG_KMEMLEAK | ||
| + | <code bash> | ||
| + | # mount -t debugfs nodev / | ||
| + | # cat / | ||
| + | # echo scan > / | ||
| + | # echo clear > / | ||
| + | </ | ||
| + | ====== tips ====== | ||
| + | 모듈 init을 순차적으로 하는 방법 | ||
| + | <code c> | ||
| + | /* | ||
| + | * if this is compiled into the kernel, we need to ensure that the | ||
| + | * class is registered before users of the class try to register lcd's | ||
| + | */ | ||
| + | postcore_initcall(lcd_class_init); | ||
| + | </ | ||
| + | |||
| *[[http:// | *[[http:// | ||
kernel_hacking.1259343270.txt.gz · Last modified: 2013/08/03 05:04 (external edit)