[kernel学习]----如何debug kernel

#ll /sys/kernel/debug/tracing/events/kmem
total 0
-rw-r--r-- 1 root root 0 Feb  3 20:17 enable
-rw-r--r-- 1 root root 0 Feb  3 20:17 filter
drwxr-xr-x 2 root root 0 Feb  3 20:17 kfree
drwxr-xr-x 2 root root 0 Feb  3 20:17 kmalloc
drwxr-xr-x 2 root root 0 Feb  3 20:17 kmalloc_node
drwxr-xr-x 2 root root 0 Feb  3 20:17 kmem_cache_alloc
drwxr-xr-x 2 root root 0 Feb  3 20:17 kmem_cache_alloc_node
drwxr-xr-x 2 root root 0 Feb  3 20:17 kmem_cache_free
drwxr-xr-x 2 root root 0 Feb  3 20:17 mm_page_alloc
drwxr-xr-x 2 root root 0 Feb  3 20:17 mm_page_alloc_extfrag
drwxr-xr-x 2 root root 0 Feb  3 20:17 mm_page_alloc_zone_locked
drwxr-xr-x 2 root root 0 Feb  3 20:17 mm_page_free
drwxr-xr-x 2 root root 0 Feb  3 20:17 mm_page_free_batched
drwxr-xr-x 2 root root 0 Feb  3 20:17 mm_page_pcpu_drain

posted @ 2017-03-10 19:51  苏小北1024  阅读(495)  评论(0编辑  收藏  举报