8.3.2 - Profiling Kernel-Space Code
Enroll to start learning
You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take practice test.
Practice Questions
Test your understanding with targeted questions
What does ftrace do?
💡 Hint: Think about tracing and measurement in the kernel.
What command initiates perf to record performance data?
💡 Hint: Focus on the startup command for performance.
4 more questions available
Interactive Quizzes
Quick quizzes to reinforce your learning
What is the purpose of ftrace?
💡 Hint: Think about what tracing specifically relates to.
True or False: perf can only be used for user-space applications.
💡 Hint: Consider the abilities of the perf tool.
2 more questions available
Challenge Problems
Push your limits with advanced challenges
Write a SystemTap script that tracks all disk read operations happening in real-time and outputs the result to a log file.
💡 Hint: Focus on identifying the correct probes to track disk activity.
Analyze how the overhead induced by perf affects the performance of a kernel application during profiling.
💡 Hint: Think about how profiling may impact system response times.
Get performance evaluation
Reference links
Supplementary resources to enhance your learning experience.