Sometimes probes may be used only during a short period of time, for a specific context. In that case, there's no reason to keep the entire provider/shared library alive after its lifetime ended, so there must be a way to unload it.
Unloading a provider should unload the shared library (dlclose()), delete its file and free all related structures.
Sometimes probes may be used only during a short period of time, for a specific context. In that case, there's no reason to keep the entire provider/shared library alive after its lifetime ended, so there must be a way to unload it.
Unloading a provider should unload the shared library (
dlclose()
), delete its file and free all related structures.Related: mmarchini/libstapsdt#2