Build Perfetto from source https://perfetto.dev/docs/quickstart/linux-tracing
Add Perfetto executable file to PATH
sudo ln -s $(pwd)/out/linux/tracebox /usr/bin/tracebox
Capture trace:
sudo tracebox -o /mnt/hgfs/workspace/trace_file.perfetto-trace --txt -c scheduling.cfg
mkdir build
cd build
cmake ..
make
./build/PerfettoLearn