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
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
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
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
Martin Ridgers
8534a3ddeb
Apply UnrealTraceServer@23233583,23246589 to POSIX platforms.
...
#rb none
#rnx
#preflight 637e190c8b12eb83a71c6861
[CL 23286199 by Martin Ridgers in ue5-main branch]
2022-11-28 03:32:43 -05:00
ionut matasaru
15126612ef
[Insights] Fixed unsafe type cast warnings in TraceAnalysis module.
...
#rb Martin.Ridgers
#preflight 633583adf418a1071a57fc98
[CL 22271566 by ionut matasaru in ue5-main branch]
2022-09-30 11:28:14 -04:00
Johan Berg
570f495f32
[Insights] Change cbor return type to UTF8StringView
...
Unreal Trace Server now writes full UTF8 strings to the CBOR objects, change the corresponding string views to `FUtf8StringView` to support correct conversion to TCHAR based strings.
#rb ionut.matasaru
#jira UE-155288
#robomerge EngineMerge
#preflight 62bedf2eb024a2608c81d044
[CL 20913058 by Johan Berg in ue5-main branch]
2022-07-01 07:53:53 -04:00
Johan Berg
7a928530a2
Fix CIS errors on Mac
...
#rb none
#preflight 624c4d54683a7dd323b02e7d
[CL 19625055 by Johan Berg in ue5-main branch]
2022-04-05 10:37:43 -04:00
Catalin Dragoiu
04455f4b88
Fix Mac compile error.
...
#rb trivial
#preflight 6218b02b8849a7424f7f7740
[CL 19143970 by Catalin Dragoiu in ue5-main branch]
2022-02-25 05:35:44 -05:00
Catalin Dragoiu
828042a563
[Insights] Fix trace list not refreshing MAC
...
#jira UE-137793
#preflight 62178f9f1a114ad504399e8d
#rb Ionut.Matasaru Johan Berg
[CL 19143744 by Catalin Dragoiu in ue5-main branch]
2022-02-25 04:53:37 -05:00
Catalin Dragoiu
2e1ff374d1
[Insights] Fix trace list not refresing when adding or deleting trace files on Linux.
...
#jira UE-137793
#rb Ionut.Matasaru Johan.Berg
#preflight 6214ba2f9e2201e21403e22c
[CL 19070550 by Catalin Dragoiu in ue5-main branch]
2022-02-22 05:54:56 -05:00
Martin Ridgers
54d117c581
Restrict trace store client to only resolve IPv4 addresses. Previously the resolve would look up IPv6 addresses for the given host leading to stalls.
...
#rb jb
#rnx
[CL 17443422 by Martin Ridgers in ue5-main branch]
2021-09-07 08:32:03 -04:00
Martin Ridgers
822c99f7f6
Shifted the store frontend to another port so as to avoid collision with old-school Unreal Insightses.
...
#rnx
[CL 16603796 by Martin Ridgers in ue5-main branch]
2021-06-09 08:50:18 -04:00
Martin Ridgers
7c160ebaa3
Tweaked the trace store client/server protocol to be more HTTP-like.
...
#rb honk
#rnx
[CL 16602541 by Martin Ridgers in ue5-main branch]
2021-06-09 07:01:48 -04:00
Martin Ridgers
e75bd655f6
Add accessor for the "store_dir" field of the trace store's /v1/status response.
...
[CL 16544497 by Martin Ridgers in ue5-main branch]
2021-06-03 03:34:33 -04:00
Martin Ridgers
49726ba2ae
Include the trace store's local filesystem location in the /v1/status response.
...
[CL 16544451 by Martin Ridgers in ue5-main branch]
2021-06-03 03:22:21 -04:00
Martin Ridgers
18f8df19ed
Bumped a port number one step too early.
...
[CL 16509004 by Martin Ridgers in ue5-main branch]
2021-05-31 09:51:47 -04:00
Martin Ridgers
5be4185e2a
Versioned the end points that the trace store server and client communicate over. This will be useful as I shift to running the trace store in a separate process who's lifetime I've less control over.
...
[CL 16508945 by Martin Ridgers in ue5-main branch]
2021-05-31 09:38:07 -04:00
Steve Robb
1f3fe8c9ac
Some ANSICHAR/UTF8CHAR cast fixes for upcoming changes to StringConv.h.
...
#rb none
#jira none
[CL 16469364 by Steve Robb in ue5-main branch]
2021-05-26 10:45:12 -04:00
Martin Ridgers
5cfc74ed00
Specifying the port that the Trace Store client should connect is now optional.
...
#rb jb
#rnx
[CL 16467361 by Martin Ridgers in ue5-main branch]
2021-05-26 08:25:39 -04:00
Martin Ridgers
4bf9cfa79a
Call select() on a socket before making a blocking call to recv(). Calls to recv() that are waiting for data may not return even if the socket is closed. This can result in a technical hang where Insights waits on Trace waiting on a socket that was closed. This way we only call recv() when we know there is data to read, and the select()+timeout combo correctly detects to the close().
...
#rb Catalin.Dragoiu
#rnx
[CL 16364807 by Martin Ridgers in ue5-main branch]
2021-05-18 04:24:57 -04:00
Martin Ridgers
be972be826
Moved the Trace namespace into the UE namespace.
...
#rb jb
#rnx
[CL 14762673 by Martin Ridgers in ue5-main branch]
2020-11-17 06:54:28 -04:00
Martin Ridgers
1d420c9d7b
Expose active trace sessions' control port via the Trace Store.
...
#rb jb
#rnx
[CL 14750314 by Martin Ridgers in ue5-main branch]
2020-11-16 04:31:03 -04:00