456 Commits

Author SHA1 Message Date
Josh Adams
46dc99a031 - Split Mac target/deployment versions to have editor and non-editor versions
- Moved them into SDK.json
- Fixed up some deprecation warnings when tarrgeting macOS 13
- IOS is still using old .ini project setting method
#rb adam.kinge, carl.lloyd, zack.neyland
#jira none
#p4v-cherrypick 31649922

[CL 32701777 by Josh Adams in 5.4 branch]
2024-04-03 12:51:15 -04:00
ionut matasaru
5f510c3e66 [Insights] Fixed constness for FStoreClient.
#rb Johan.Berg

[CL 31426400 by ionut matasaru in 5.4 branch]
2024-02-13 10:04:48 -05:00
ionut matasaru
a8078ce4c2 [Insights] Updated limits for detecting too much data accumulated by trace analysis (number of parsed events).
#rb Johan.Berg

[CL 30770758 by ionut matasaru in ue5-main branch]
2024-01-22 09:24:24 -05:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
johan berg
45d4196f9e Add store client functionality to set sponsor mode
#rb ionut.matasaru

[CL 30316870 by johan berg in ue5-main branch]
2023-12-14 06:35:38 -05:00
ionut matasaru
231006c9b4 [Insights]
- TraceAnalysis: Added debug functionality for trace transport and trace protocol analysis. See TraceAnalysisDebug.h for the available debug options (UE_TRACE_ANALYSIS_DEBUG_API, UE_TRACE_ANALYSIS_DEBUG, UE_TRACE_ANALYSIS_DEBUG_LOG, UE_TRACE_ANALYSIS_DEBUG_LOG_IMPL, UE_TRACE_ANALYSIS_DEBUG_LEVEL).
  - TraceAnalysis: Changed the limit for accumulated too much data on a single thread from 512 MiB to 2000 MB. Also implemented better code to skip serials when limit is encountered.
  - TraceAnalysis: Implemented workaround for corrupted traces (events with aux blocks missing the "aux terminal").
  - TraceAnalysis: Fixed EventData.GetArray<>() (to be safe to be called multiple times).

#rb Johan.Berg, Catalin.Dragoiu
[FYI] Martin.Ridgers

[CL 29268256 by ionut matasaru in ue5-main branch]
2023-10-31 04:07:11 -04:00
joe kirchoff
be5805fdca Fix some comments that give the wrong instructions when a module is forcing cpp17
#rnx

[CL 28690858 by joe kirchoff in ue5-main branch]
2023-10-11 19:24:34 -04:00
joe kirchoff
540c318bfa Disable PCH for remaining C++17 modules to prevent making PCH variants
#rnx

[CL 28482531 by joe kirchoff in ue5-main branch]
2023-10-04 19:25:49 -04:00
ionut matasaru
119dbc1a08 Enabled UnsafeTypeCast warnings as errors in Trace/Insights related modules (UnrealInsights, TraceAnalysis, TraceServices, TraceDataFiltering, TraceUtilities, EditorTraceUtilities).
Fixed conversion warnings in TraceAnalysis and in TraceServices modules.

#rb Catalin.Dragoiu

[CL 28339045 by ionut matasaru in ue5-main branch]
2023-09-29 07:22:52 -04:00
johan berg
c45a777582 Display store server version in Unreal Insights
Uses the version enpoint in Unreal Trace Server to display the server version in the connection tooltip.

#rb ionut.matasaru

[CL 27555132 by johan berg in ue5-main branch]
2023-09-01 10:37:36 -04:00
ionut matasaru
0f0d444fd3 [Insights] Warkaround for corrupted traces with missing sync events. Analysis will not stop anymore when buffering more than 512 MiB of trace data. Instead, it will emit an error and then it will start to skip the missing serial numbers.
#rb Catalin.Dragoiu
[FYI] Johan.Berg

[CL 26700510 by ionut matasaru in ue5-main branch]
2023-07-31 04:33:40 -04:00
Johan Berg
377aa7c246 Remove usage of MessageLog in analysis.
Usage of MessageLog in non-ui threads is tricky and need to be carefully managed to avoid flushing memory on the wrong thread. With this change direct usage of MessageLog in the analysis engine is removed and replaced with a callback system which allows the user of TraceAnalysis to implement display of the messages themselves. In the case of InsightsManager this means queuing up the messages in analysis session and regularly polled from the UI thread.

#rb ionut.matasaru
#jira UE-185528

[CL 26086861 by Johan Berg in ue5-main branch]
2023-06-19 07:17:37 -04:00
Johan Berg
2f814b56e4 Allow swapping of watch and store directory.
Previously setting the store directory to the same directory as a watch directory was disabled. With this change the selected directory when set as store it is also automatically removed as watch directory.

#rb ionut.matasaru
#jira UE-184965

[CL 25977468 by Johan Berg in ue5-main branch]
2023-06-14 10:11:28 -04:00
bryan sefcik
5b6c78e627 Removed monolothic header includes.
#preflight 647a50f58417d79259bf0677
#jira

[CL 25775811 by bryan sefcik in ue5-main branch]
2023-06-02 18:21:36 -04:00
Johan Berg
2a0a9d8ec7 Disable internal trace store for all platforms.
Standalone servers have been submitted for all desktop platform. Disable hosted trace store everywhere and enable launching of the server.

#rb ionut.matasaru
#preflight 64749db03535a898de7c1983

[CL 25663303 by Johan Berg in ue5-main branch]
2023-05-29 08:52:39 -04:00
Johan Berg
5a5f2a5480 Use new trace functionality to correctly identify live session from own process
Previously executing "Open current session" in the Insights launcher used the last activated live session, which might be incorrect if the user has multiple live session at the same time. This change uses new functionality in TraceLog which adds session and trace guid fields as metadata and queries the server for the current ongoing session.

#rb catalin.dragui
#jira UE-178144
#preflight 6464ca39fa4cf4165130bce9

[CL 25505766 by Johan Berg in ue5-main branch]
2023-05-17 09:17:55 -04:00
marc audy
360c65f9cd Fix missing dependency
#rnx
#jira

[CL 25395332 by marc audy in ue5-main branch]
2023-05-09 16:39:50 -04:00
ionut matasaru
3fa4349a65 [Insights] Fixed StoreClient's read trace (FStoreCborClient::ReadTrace) incorectly using socket's local_endpoint insted of remote_endpoint.
#rb trivial
#fyi Johan.Berg
#preflight skip

[CL 25170298 by ionut matasaru in ue5-main branch]
2023-04-24 16:12:46 -04:00
ionut matasaru
4379664d1a [Insights] Fixed UnsafeTypeCast warnings.
#rb trivial
#preflight 6446a401dc71c13446e678c4

[CL 25165790 by ionut matasaru in ue5-main branch]
2023-04-24 11:54:05 -04:00
jamie dale
3e0d3c2b5a No PCH build fix (Shipping)
#jira
#rb none
#rnx

[CL 25025443 by jamie dale in ue5-main branch]
2023-04-13 10:51:05 -04:00
Joe Kirchoff
79b7bd19d3 C++20 fixes
#rnx
#preflight 64276ce42a0b706ac6bc5400

[CL 24881643 by Joe Kirchoff in ue5-main branch]
2023-03-31 19:56:46 -04:00
Johan Berg
105750c5c0 UX for settings trace store and additional watch directories
#rb ionut.matasaru
#preflight 642302d5973e6096700f90a5

[CL 24833835 by Johan Berg in ue5-main branch]
2023-03-29 07:21:59 -04:00
Johan Berg
49ada89002 Add trace store connection status UX and reconnection logic
* Adds user interface for displaying connection to trace store
* Adds logic that checks the connection in store browser and periodically attempts to reconnect if a severed connection is detected.

#jira UE-123719
#preflight 63e9fdfe96073a3e192548e0
#rb ionut.matasaru, catalin.dragoiu
#preflight 63ece9647e76998e9a4607c2

[CL 24229318 by Johan Berg in ue5-main branch]
2023-02-15 09:29:09 -05:00
Joe Kirchoff
c1f997087d Fix remaining UnrealGame Win64 V3 pathing issues
#rnx
#rb trivial
#preflight 63ec10e47e76998e9afe7aa7

[CL 24222870 by Joe Kirchoff in ue5-main branch]
2023-02-14 18:12:00 -05:00
Johan Berg
d7edd5ebfa Add user facing error message if transport layer error is detected.
#rb martin.ridgers, ionut.matasaru
#jira UE-174948
#preflight 63e4c581e86828e8c87bd2e2

[CL 24094435 by Johan Berg in ue5-main branch]
2023-02-09 05:19:47 -05:00