sudo apt-get install python3-pip bpfcc-tools linux-headers-$(uname -r)
sudo pip install prometheus-client
sudo dnf -y install bcc kernel-devel python3-pip
sudo pip install prometheus-client
sudo python3 bcc_iotracer.py --help
sudo python3 bcc_iotracer.py [--dir/--file] -i [inode] -t [comm1,comm2,comm3...] -l [levels(v,p,f,b,s,d)] > trace_output
sudo python3 bcc_iotracer.py -l vpfb > trace_system
sudo python3 bcc_iotracer.py -t fio --file -i [inode of fio file] -l vpfb > trace_fio
sudo python3 bcc_iotracer.py -t postmark --dir -i [inode of postmark dir] -l vpfb > trace_postmark
sudo python3 bcc_iotracer.py -t fio,postmark,cat,dd -l vpfb > trace_comms
Kernel api: output
Userspace api: poll
Ringbuffer size: 1024 pages
sudo python3 bcc_iotracer.py -k o -u p -size 1024 -l vb > trace_output
More details in IOTracer_tests/README