Assignment 3 - 2020
Team 1: blocked processes in blocking_device Read and experiment phase 3 work in http://linux-kernel-lab.blogspot.com/2018/06/blocking-device.html Make the pid of all processes blocked in blocking_device visible in /sys/show_blocked. Test it. You may run "read_test &" as many times as you wish. tip: Do you know what is a file in sysfs? It just exports some information from the kernel. In this exercise you will not create any additional data structure (such as an array) inside the kernel. You will have to look for the pid of all blocked processes looking some data structure that already exists. Team 2: systemtap: I/O monitoring You are not using Shibata's work. systemtap is a script language developed by RedHat that runs in kernel mode. It collects and displays kernel data (or even user data) as the user wishes. See https://sourceware.org/systemtap/SystemTap_Beginners_Guide/ The script https://sourceware.org/systemtap/SystemTap_Beginners_Gui...