Support unloading of probe providers
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 9 Feb 2018 20:15:25 +0000 (15:15 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 9 Feb 2018 20:41:34 +0000 (15:41 -0500)
commit2c05c691a10f3130f9339a15369140ad6ca70f85
tree1d771bd30cfff02fd30141b28794cf0dae68c3a3
parentb33b46f7161604cb9168e9bbc854413cf18269be
Support unloading of probe providers

With this commit, it's now possible to dlclose() a library containing an
actively used probe provider.

The destructor of such library will now iterate over all the sessions
and over all probe definitions to unregister them from the respective
callsites in the process.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-events.c
liblttng-ust/lttng-probes.c
liblttng-ust/tracepoint.c
This page took 0.024802 seconds and 4 git commands to generate.