[SOLVED] Enabling CONFIG_PROC_EVENTS ?
ogilvierothchild
Status: New User - Welcome
Joined: 26 Apr 2020
Posts: 3
Reply Quote
Hi,

Is there any chance we can get CONFIG_PROC_EVENTS enabled in the kernel? This is enabled by default in stock Ubuntu, Arch, Amazon and OpenSUSE kernels, among others. This requires CONFIG_CONNECTOR=y as far as I know. The reason why this is useful is to get notifications of new processes in order to set priorities, for example.

Thank in advance!
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1135
Reply Quote
Thanks, I added this change to the 5.6 branch: github.com/damentz/liquorix-package/commit/8356671c89

It will be in the next update.
Back to top
ogilvierothchild
Status: New User - Welcome
Joined: 26 Apr 2020
Posts: 3
Reply Quote
Thank you!
Back to top
ogilvierothchild
Status: New User - Welcome
Joined: 26 Apr 2020
Posts: 3
Reply Quote
I can confirm that the latest kernel properly supports registering for and receiving event notifications regarding processes.

This can be confirmed yourself by installing "forkstat" and trying it out, by running

:: Code ::
sudo apt install forkstat
sudo forkstat -e exec,comm,fork


then launching or killing some processes and watching the output from forkstat.


Thank you!
Back to top
Display posts from previous:   

All times are GMT - 8 Hours