Thanks for your advice,
i find the /proc/config.gz is the same as
terry@terry-desktop:~/temp$ cp /proc/config.gz
terry@terry-desktop:~/temp$ gunzip config.gz
terry@terry-desktop:~/temp$ ls -al /usr/src/kernel/kernel-4.9/.config
-rw-r–r-- 1 root root 165670 Sep 15 05:42 /usr/src/kernel/kernel-4.9/.config
terry@terry-desktop:~/temp$ ls -al config
-r–r–r-- 1 terry terry 165670 Sep 17 04:18 config
terry@terry-desktop:~/temp$ diff /usr/src/kernel/kernel-4.9/.config config
I will spend time on tracing the nvidia csi camera driver
which is in
for anyone who need it.
And thanks for Nvidia’s good effort!
i plain use trace-cmd/BPF/ftrace/ to do it.(The new stuff!)
10 years i only know printk and grep. haha. The old age tool.(Still Be useful today :p)
Currectly i spend time on Kaiwan N Billimoria’s book:
kernel internals, writing kernel modules, and kernel synchronization
i read the 10 chapters already. His book is good.
The 2 books also is on the list:
Kaiwan N Billimoria-Linux Kernel Programming Part 2 - Char Device Drivers and Kernel Synchronization: Create user-kernel interfaces, work with peripheral I/O, and handle
John Madieu - Mastering Linux Device Driver Development_ Write custom device drivers to support computer peripherals in Linux operating systems
10 years ago, i was company’s linux usb camera driver rd.
In fact, i just adust the open source of Laurent Pinchart’s uvc driver…
Thanks to him. He is a great Enginer.I learn a lot of usb and uvc from his drivers.
also the great book : Linux Device Drivers, Third Edition by Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman.
Learn a lot from it.
I never have a chance to really understand kernel internals.
Recently my companny need mipi camera driver. I try to learn mipi sepc/linux mipi driver/kernel 5.x those days.
The kernel i knew is 2.6.xx. 10 years ago.I need to catch up what’s going on the decay :p.
And this time, i have time to do it(I wish :p). At the linux world, i saw many good RD. They codes is very good and clean. Sometimes mind-blowing xd.
I am just a guest to Linux world. But the Linux kernel engineer, I always admire their priceless work at kernel codes, which is free and open, and good for mankind.