From the course: Advanced Linux: The Linux Kernel
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Demonstration of kernel source and searching - Linux Tutorial
From the course: Advanced Linux: The Linux Kernel
Demonstration of kernel source and searching
- [Instructor] Let's look at kernel's source code. So I cloned the Ubuntu Noble repository like this, like we showed earlier. That took a little while. And then I got something like this and I've done a make cscope and a make tags in here and that's why I've got those cscope.files and I've got the file called tags. You can see kernel Makefile is in here. Let's see how much space this takes up. Hoo, seven gig, pretty big. And get an idea of how many tags they have in the repo here we cloned. That start with the string ubuntu dash. What did I do different? You got to capitalize the U in Ubuntu. All right. And if we look at the Makefile, we can see the version there, so forth. How long is the Makefile? Over 2000 lines long. All right. And with that kind of length, having a help in there is nice. Get an idea. Starts with cleaning targets and there's lots of stuff you can make, right? And these days you can write kernel code in Rust. So there's a bunch of Rust stuff there. Let's make a PDF…
Contents
-
-
-
-
-
-
(Locked)
Getting Linux kernel source code2m 37s
-
(Locked)
Explore the kernel makefile3m 1s
-
(Locked)
Examine and build kernel documentation4m 29s
-
(Locked)
Search the kernel source3m 18s
-
(Locked)
Demonstration of kernel source and searching4m 54s
-
(Locked)
Examine kernel driver source5m 1s
-
(Locked)
Demonstration: kernel source7m
-
(Locked)
Additional selected subdirectories3m 5s
-
(Locked)
Challenge: Linux kernel source code1m 29s
-
(Locked)
Solution: Linux kernel source code3m 46s
-
(Locked)
-
-