Commit Graph

304 Commits

Author SHA1 Message Date
martin ridgers
d8c3b722e6 Resolve any ambiguity between the different versions of the trace protocols' structs.
#ROBOMERGE-SOURCE: CL 17080696 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17080722 by martin ridgers in ue5-release-engine-test branch]
2021-08-06 04:17:45 -04:00
martin ridgers
013eaffa54 A little tidy around the updating a thread's event scope book keeping.
#ROBOMERGE-SOURCE: CL 17066821 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17066828 by martin ridgers in ue5-release-engine-test branch]
2021-08-05 07:18:47 -04:00
martin ridgers
ac1bc9e6be A case of copy-paste caused analyzers to not receive the scoped trace events they had subscribed to.
#ROBOMERGE-SOURCE: CL 17065995 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v852-17065384)

[CL 17066022 by martin ridgers in ue5-release-engine-test branch]
2021-08-05 05:28:54 -04:00
martin ridgers
6ed907a4ad Flipped GetThreadId()'s return type to be unsigned.
#rnx

#ROBOMERGE-SOURCE: CL 17048295 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v850-17047176)

[CL 17048312 by martin ridgers in ue5-release-engine-test branch]
2021-08-04 07:49:27 -04:00
martin ridgers
4ebbb9ff96 Removed a redundant comment.
#rnx

#ROBOMERGE-SOURCE: CL 16994792 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16994795 by martin ridgers in ue5-release-engine-test branch]
2021-07-29 09:00:03 -04:00
martin ridgers
95ff0451cb Older trace protocols had synchronised new-event events so we can't short-circuit those events.
#rnx

#ROBOMERGE-SOURCE: CL 16994788 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16994790 by martin ridgers in ue5-release-engine-test branch]
2021-07-29 08:58:44 -04:00
martin ridgers
aa40aea03e Ancient traces have no magic FourCC. We can say though that they definitely start with 01 00 00 00. So we'll use that as a FourCC to identfiy antique traces.
#rnx

#ROBOMERGE-SOURCE: CL 16994617 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16994667 by martin ridgers in ue5-release-engine-test branch]
2021-07-29 08:53:28 -04:00
martin ridgers
ccecae1930 The wrong protocol stage was being used for older protocol-2 and protocol-3 traces
#rnx

#ROBOMERGE-SOURCE: CL 16994501 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16994504 by martin ridgers in ue5-release-engine-test branch]
2021-07-29 08:36:02 -04:00
martin ridgers
30dbc1b987 Fixed segfault when analysing old protocol-0 traces.
#rnx

#ROBOMERGE-SOURCE: CL 16994476 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16994482 by martin ridgers in ue5-release-engine-test branch]
2021-07-29 08:32:30 -04:00
martin ridgers
a6b2033a16 Allow externally-construct trace event types to be added into the type registry.
#rnx

#ROBOMERGE-SOURCE: CL 16994468 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16994481 by martin ridgers in ue5-release-engine-test branch]
2021-07-29 08:32:23 -04:00
martin ridgers
fb67f17f7b Unchecked versions of methods to get a pointer to the data in a trace stream. While redundant on the surface, they will help to indicate when there is an expectation that enough data is known to be available.
#rb trivial
#rnx

#ROBOMERGE-SOURCE: CL 16979495 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16979497 by martin ridgers in ue5-release-engine-test branch]
2021-07-28 03:41:38 -04:00
martin ridgers
45eaf723c9 Added a method to return the number of bytes remaining in a stream of trace data
#rb trivial
#rnx

#ROBOMERGE-SOURCE: CL 16979476 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16979478 by martin ridgers in ue5-release-engine-test branch]
2021-07-28 03:36:51 -04:00
martin ridgers
27c78d0d4b Over time the framework behind the analysis of traces has grown reactively and organically without little thought to structure. The monolithic class has been refactored to derive some structure that will ease future maintenance (and protocol changes in particular).
#rb johan.berg
#jira ue-114532
#rnx

#ROBOMERGE-SOURCE: CL 16979281 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16979283 by martin ridgers in ue5-release-engine-test branch]
2021-07-28 02:24:48 -04:00
martin ridgers
de07a4b813 A strategic balancing of an End() call with a Begin() call.
#rb jberg
#jira UE-114532
#rnx

#ROBOMERGE-SOURCE: CL 16966340 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16966341 by martin ridgers in ue5-release-engine-test branch]
2021-07-27 04:33:18 -04:00
martin ridgers
106541d9a8 Moved a few classes out of FAnalysisEngine's scope.
#rnx

#ROBOMERGE-SOURCE: CL 16670167 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v834-16658389)

[CL 16670169 by martin ridgers in ue5-release-engine-test branch]
2021-06-15 02:55:50 -04:00
martin ridgers
18ffba065c Removed a few redundant "using namespace" statements.
#rnx

#ROBOMERGE-SOURCE: CL 16654394 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v833-16641396)

[CL 16654398 by martin ridgers in ue5-release-engine-test branch]
2021-06-13 15:58:09 -04:00
martin ridgers
f097fe2089 Delete redundant variable.
#rnx

#ROBOMERGE-SOURCE: CL 16653294 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v833-16641396)

[CL 16653299 by martin ridgers in ue5-release-engine-test branch]
2021-06-13 02:18:12 -04:00
martin ridgers
b79ed2bad2 Added some Vim fold markers to help navigate this file more easily.
#rnx

#ROBOMERGE-SOURCE: CL 16638910 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v831-16623017)

[CL 16638964 by martin ridgers in ue5-release-engine-test branch]
2021-06-11 06:30:47 -04:00
martin ridgers
9bc39ddbb2 Shifted the store frontend to another port so as to avoid collision with old-school Unreal Insightses.
#rnx

#ROBOMERGE-SOURCE: CL 16603796 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16603804 by martin ridgers in ue5-release-engine-test branch]
2021-06-09 08:51:32 -04:00
martin ridgers
e50e8480d4 Removed the self-hosted Trace stores in plugins and Unreal Insights. They can assume that the trace store is already running and therefore need to just attempt to connect to it.
#rb im

#ROBOMERGE-SOURCE: CL 16603794 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16603802 by martin ridgers in ue5-release-engine-test branch]
2021-06-09 08:51:25 -04:00
martin ridgers
d84ae8e3f2 Tweaked the trace store client/server protocol to be more HTTP-like.
#rb honk
#rnx

#ROBOMERGE-SOURCE: CL 16602541 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v828-16531559)

[CL 16602712 by martin ridgers in ue5-release-engine-test branch]
2021-06-09 07:05:27 -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