소스 그 자체 보다는 소스의 변화를 분석하자
전처리 파일을 활용하자
디버깅 툴과 함께 소스를 분석하자
ftrace message를 자주 활용하자
상용 드라이버 코드를 분석하자: e.g: Qualcomm kernel BSP code
embetronicx.com/tutorials/linux/device-drivers 소개
§ ftrace란
§ function tracer의 약자로 리눅스 커널의 주요 기능 별로 구성돼 있음
§ Ftrace is a great way to learn more about the internal workings of
the Linux kernel.
§ < from: https://opensource.com/article/21/7/linux-kernel-ftrace>
§ Ftrace의 중요성
§ ftrace 메시지 분석은 리눅스 커널의 동작 방식을 이해하는 지름길
§ 비동기적인 함수 호출 흐름을 이해하기 위해서는 ftrace 메세지를 활용해야 함