How to track a parameter in the Linux kernel efficiently?

34 Views Asked by At

Recently I wanted to change a kernel code and optimize some parameters. I decided to write the variables into the kernel by using PrintK then reading them by using dmesg. However, I noticed that the performance of the code, which is a scheduler is had been reduced dramatically.

could you please suggest alternative ways to my methods to track the variables?

Thanks a lot

I have tried using printk, but it reduces the performance drastically. As a result, I am looking for a more beneficial way.

0

There are 0 best solutions below