Hi,
I have custom-built a libwebcore.so that would generate some profiling data. Alas, by default the data is written to disk only when libwebcore.so is unloaded, or if certain environment variable is set to enable dumping the data more frequently. My question:
1. It seems to me that libwebcore.so is loaded very early in the start-up process. Is there a way to set the said environment variable before it's loaded? I am wondering if there's a file where you can export/set the variable that would get executed as part of the boot process, similar to .bash_login and such files on Linux?
2. libwebcore.so seems to never get unloaded. I tried killing the browser process, and libwebcore.so still stays loaded. Is there a way to unload it? Or how can I find out which process or processes are still holding on to libwebcore.so?
Thank you for your insight.
I have custom-built a libwebcore.so that would generate some profiling data. Alas, by default the data is written to disk only when libwebcore.so is unloaded, or if certain environment variable is set to enable dumping the data more frequently. My question:
1. It seems to me that libwebcore.so is loaded very early in the start-up process. Is there a way to set the said environment variable before it's loaded? I am wondering if there's a file where you can export/set the variable that would get executed as part of the boot process, similar to .bash_login and such files on Linux?
2. libwebcore.so seems to never get unloaded. I tried killing the browser process, and libwebcore.so still stays loaded. Is there a way to unload it? Or how can I find out which process or processes are still holding on to libwebcore.so?
Thank you for your insight.