From the course: Advanced Linux: The Linux Kernel

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Challenge: Solution

Challenge: Solution - CentOS Tutorial

From the course: Advanced Linux: The Linux Kernel

Start my 1-month free trial

Challenge: Solution

(peppy music) - [Instructor] Okay, let's look at doing the challenge for chapter four. So the first question is fetch the ubuntu kernel source. And to do that I used the get clone command. And I timed that and it took a little over seven minutes here on my system. And it created a directory called ubuntu-eoan. I'm going to change the directory into there. And there we have the kernel source. Then it says for your kernel do make cscope and make tags. So let's time that. Time make cscope. So the make cscope took a little over 46 seconds. Now let's make tags. There we go, the make tags took over three minutes. Then the next question in the challenge it says test the the c tags facility of the Vi text editor. So you might want to try cscope on your own. But here let's look at tags. So I'm just going to start Vi. Doesn't have much to say and step A here look up the function in the last kernel called sys_open. So I'm going…

Contents