sudo apt update
sudo apt-get install build-essential
sudo apt-get install linux-headers-$(uname -r)
(install linux headers)sudo apt-get install gcc-12
apt install dwarves
andcp /sys/kernel/btf/vmlinux /usr/lib/modules/`uname -r`/build/
to remove warning of skipping BTF generation ...make
to generate filesmake clean
to remove generated files
sudo insmod osproj.ko
to start threadsudo rmmod osproj
to kill threadps -ef
lsmod
to show currently loaded kernel modulessudo dmesg