Le 2012-07-03 15:40, Mathieu Desnoyers a écrit : >> It's not possible to remove the module while an active tracing session >> references the event lttng_uevent. I tested insertion/removal of the >> module while tracing with the previous version that was using RCU and it >> was working well. > > But you don't need to have an active tracing session to perform the test > I point to above. Could you run it on this latest version ?
Ok. I updated the test to run in a loop rmmod/modprobe, while writing with 20 threads into /proc/lttng_uevent. The result is that the module can be unloaded properly, the test shows no race that prevent the module to be unloaded or other problems. If somebody wants to test it for themselves, I added the code for this test under workload-kit/tests. * test-uevent : runs 4 times 20 threads each producing 64k events * module-reload-forever.sh : rmmod/modprobe of lttng_uevent * test-uevent.sh : quick wrapper for testing functionnality Thanks! Francis
smime.p7s
Description: Signature cryptographique S/MIME
_______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
