Description of problem:
I tried to trace fork(2) and other process related events using forkstat and similar tools.
But no event arrives over the socket. debug shows that it hangs indefinitely in recv(2).
Version-Release number of selected component (if applicable):
All kernels flavors of Mageia 7 and 8.
Steps to Reproduce:
1. Download a tool like forkstat (procmon or others) and build it
2. run it
3. No event is reported.
That's due to the kernel config.
It turns out that CONFIG_PROC_EVENTS is a prerequisite for these events being generated. but it's unset in all flavors of Mageia kernel (desktop, linus and server).
CONFIG_PROC_EVENTS depends on CONFIG_CONNECTOR = y.
In mga kernels, CONFIG_CONNECTOR = m (module) so CONFIG_PROC_EVENTS doesn't even appear in Kconfig.
So it even can't be loaded as a module.
Thus the require change to the config looks as follows:
+# forkstat requires this
Well, default value for CONFIG_PROC_EVENTS is y if CONFIG_CONNECTOR=y so the second line is maybe unnecessary.
thanks for the report, it will be fixed in upcoming 5.10.14-1
Hi, thanks for reporting this.
Already assigned to the package group maintainer.
(In reply to Thomas Backlund from comment #1)
> thanks for the report, it will be fixed in upcoming 5.10.14-1
the same fix will be pushed along with next mga7 kernel update
For Cauldron/Mga8, kernel-5.10.14-1.mga8 is built and is mirroring out.
For Mga7, kernel-5.10.14-1.mga7 is currently building, heading to updates_testing
Tested in Mga7.
Thanks, it works like a charm :)