The following two patches fix one bug each in LTTng UST.

The first patch makes sure that when a library registers callsites, those 
callsites are also properly unregistered.
It is only a matter of actually updating the list of callsites during 
registration.

The second patch deals with nested dynamic libraries. The current code disables 
tracepoints whenever a library destructor gets called.
But if those tracepoints are also used by some other open library, then they 
stop working.
The solution in the patch keeps track of how many callsites use a tracepoint, 
and disables the tracepoint only after the last library logs off.
To work, the first patch must be applied first.

JP Ikaheimonen | SW Development Engineer http://go.mentor.com/sourceryanalyzer
Mentor Embedded(tm) | Nucleus(r) | Linux(r) | Android(tm) | Services | UI | 
Multi-OS
Android is a trademark of Google Inc. Use of this trademark is subject to 
Google Permissions.
Linux is the registered trademark of Linus Torvalds in the U.S. and other 
countries.



_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to