FEX: Disable trace profiler by default

Use a config option to turn it on.
This commit is contained in:
Ryan Houdek committed 2025-10-16 17:59:27 -07:00
1 parent 40d9c66784
commit 8ea92ab9b6
4 files changed
+25 -3

No files matched your search

+6 -1
View File
@@ -640,7 +640,12 @@ NTSTATUS ProcessInit() {
FEXCore::Config::Set(FEXCore::Config::CONFIG_IS64BIT_MODE, "1");
FEXCore::Profiler::Init("", "");
{
FEX_CONFIG_OPT(TraceProfiler, TRACEPROFILER);
if (TraceProfiler()) {
FEXCore::Profiler::Init("", "");
}
}
FEX_CONFIG_OPT(ExtendedVolatileMetadataConfig, EXTENDEDVOLATILEMETADATA);
ExtendedMetaData = FEX::VolatileMetadata::ParseExtendedVolatileMetadata(ExtendedVolatileMetadataConfig());