You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
- TraceServices: Changed ReadNetProfilerProvider, ReadMemoryProvider, ReadDiagnosticsProvider to return a pointer to the respective provider (instead of a reference). Can return nullptr. The UI should not assume the provider exists. - TraceServices: Added GetNetProfilerProviderName, GetMemoryProviderName, GetDiagnosticsProviderName, GetAllocationsProviderName to return name of respective provider. - TraceServices: Added ReadModuleProvider + GetModuleProviderName, ReadCallstacksProvider + GetCallstacksProviderName to access respective providers. - TraceServices: Added a default empty implementation to IModule for GenerateReports, GetLoggers and GetCommandLineArgument. - TraceServices: Changed FAnalysisService::StartAnalysis to not create default providers for Memory (LLM Stats), NetProfiler and Diagnostics, but to allow the respective modules (FMemoryModule, FNetProfilerModule, FDiagnosticsModule) to create the providers. - TraceInsights: Fixed UI code to check if the Memory, NetProfiler and Diagnostics provider are available. #rb Catalin.Dragoiu, Johan.Berg [CL 16967698 by ionut matasaru in ue5-main branch]
25 lines
707 B
C++
25 lines
707 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
#pragma once
|
|
|
|
#include "TraceServices/Model/Modules.h"
|
|
#include "Common/PagedArray.h"
|
|
#include "Misc/ScopeRWLock.h"
|
|
|
|
namespace TraceServices
|
|
{
|
|
|
|
class IAnalysisSession;
|
|
|
|
class IModuleAnalysisProvider : public IModuleProvider
|
|
{
|
|
public:
|
|
virtual void OnModuleLoad(const FStringView& Module, uint64 Base, uint32 Size, const uint8* ImageId, uint32 ImageIdSize) = 0;
|
|
virtual void OnModuleUnload(uint64 Base) = 0;
|
|
virtual void OnAnalysisComplete() = 0;
|
|
};
|
|
|
|
/** Create a module provider with the given symbol format. */
|
|
IModuleAnalysisProvider* CreateModuleProvider(IAnalysisSession& Session, const FAnsiStringView& SymbolFormat);
|
|
|
|
} // namespace TraceServices
|