Just a bit of follow-up: has this been merged ? If not, is there a latest version available somewhere ?
Thanks, Mathieu * Francis Giraldeau ([email protected]) wrote: > 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 > > _______________________________________________ > lttng-dev mailing list > [email protected] > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
