<div dir="ltr">Hi all,<div><br></div><div>I have some code using traces compiled as shared object (together with trace provider).</div><div>This ".so" is linked to main code during compile-time.</div><div>When I run main application and try to read traces after that I get errors about corrupted trace file.</div><div><br></div><div>I've read docs about dynamical linking of trace provider which recommends compiling trace provider into separate .so and using LD_PRELOAD to preload it. But that is only needed for shared objects loaded with "dlopen". In my case "dlclose" isn't called and shared object is unloaded on the exit (i.e. after all traces produced). </div><div><br></div><div>So this shouldn't be a problem... Am I right?</div><div><div><div class="gmail_signature"><div dir="ltr">-- <br>Regards,<br>Sergei Dyshel</div></div></div>
</div></div>