bitwiseworks / mozilla-os2

Mozilla for OS/2 and OS/2-based systems
Other
34 stars 9 forks source link

Enable shared library list population in Gecko Profiler #268

Open dmik opened 6 years ago

dmik commented 6 years ago

This is a continuation of #264. So far, SharedLibraryInfo::GetInfoForSelf() (tools/profiler/core/shared-libraries-os2.cc) returns an empty list. When we really need the profiler, we may want to use DosQuerySysState(QS_MTE) to walk the process DLLs and populate the list.

dmik commented 6 years ago

Note that in order to actually use the profiler, one should build Mozilla with --enable-profiling.