Search Linux kernel source for text, symbols, and function usage examples.
- [Voiceover] Grep is great for working with sourcecode,…so if you're looking for something…in the kernel SourceTree, a common technique folks use…is a recursive grep, grep -r.…If you're not sure if something is capitalized or not,…then the ignore case option, -i, is handy.…And if you just want to find out the name of a file,…and not actually see the line echoed back that matches,…then the -l option is kinda handy.…So, -ril, grep -ril, might be handy.…Here, we're looking through the include directory…for sys_read.…
So, this would echo out the name of any file…that had sys_read with capitalization ignored.…Might be handy.…Cscope is a tool commonly used by gruntled developer types.…And the kernel makefile has support in it…for building an index for cscope.…So, with the kernel makefile, you could say…make cscope, and that shouldn't take too long,…a minute or two, say, and it's built an index.…And then you can use the cscope tool…with cscope -d.…
Cscope is not a high-tech, mouse-oriented GUI.…It's an arrow-key sort of interface, you know?…
We survey the Linux kernel specification, boot process, and loadable kernel modules. You will practice techniques such as downloading and searching Linux kernel source code and configuring a Linux kernel from scratch. Challenge and solution videos at the end of almost every chapter allow you to test your new Linux skills along the way.
- What is the Linux kernel?
- Controlling hardware
- Reading Linux kernel messages
- Reading and writing files from the proc and sysfs filesystems
- Configuring GRUB
- Using kernel command-line parameters
- Configuring run levels
- Working with loadable kernel modules (LKMs)
- Searching the kernel source code
- Building and installing a Linux kernel
Skill Level Advanced
Learning Linux for PHP Developers (2014)with Jon Peck3h 52m Beginner
1. Surveying the Linux Kernel
3. Working with Loadable Kernel Modules
4. Examining Linux Kernel Source Code
5. Configuring and Building a Linux Kernel
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.