Arm Linux Kernel Hacks

rousalome.egloos.com

포토로그 Kernel Crash


통계 위젯 (화이트)

11105
637
415734


태그 : container_of 요약보기전체보기목록닫기

1

[리눅스커널][Trace32] wakelock 디버깅 - container_of

[crash-utility] wakelock 디버깅(rbtree: wakelocks_tree)[crash-utility]wakelock - rbtree debugging(디버깅) [리눅스커널][Trace32] wakelock 디버깅 - container_of[Kernel] wakelock debug patch 이번 시간에는 wakeup...

[Linux][Kernel] container_of 매크로

이번에는 container_of란 매크로를 배워볼게요. 커널 코드에서 current 매크로 못지않게 많이 활용하는 매크로이니 잘 알아야겠죠. 그럼 다음 샘플 코드를 함께 보면서 container_of란 매크로을 어떻게 활용하는지 살펴볼까요?다음 wq_barrier_func 함수를 예를 들까요? container_of를 써서 struct wq_barrie...

[Linux][Kernel][Debug] T32 - container_of 매크로

리눅스 커널 코드를 분석하다 보면 아래 container_of 매크로를 자주 볼수 있어요.void t21142_media_task(struct work_struct *work){ struct tulip_private *tp = container_of(work, struct tulip_private, media_work); struct net_devic...
1