#SUSSYSYS
To run the project basically, try:
echo 0 > tracing_on : quick way to disable tracing
{May or may not make a difference based on distro afaik}
echo 1 > tracing_on : quick way to enable tracing supposedly {Same goes for this, do try it out just in case}
before running please activate venv:
source venv/bin/activate
also mount debugfs using:
sudo mount -t debugfs none /sys/kernel/debug
To run the dashboard, the command is:
sudo streamlit run dashboard.py
You may also use strace to trace syscalls and use streamlit to make it into a real time tracing dashboard
-
strace -c -p PID
-
strace -e trace=write -p PID (The argument for trace can be replaced by whatever kind of call you want to trace)
The dashboard does not need to follow any sort of strict rules of sorts, for any clarifications you can contact me.
The bare minimum your project needs to do is either generate a report of the number of syscalls made in a time interval or it needs to do real time tracing like is done in dashboard.py(preferred) you can choose to either work on the code already given or make a new project on your own and use this repository as a reference. Do not hesitate to ask for help, however issues related to syntax errors will NOT be entertained, thats for you all to debug on your own :)