Commit Graph

186 Commits

Author SHA1 Message Date
Martin Ridgers
4e58714384 "enum used as boolean constant" compiler warning fix
#rb trivial
#rnx
#preflight 61fa5a179e4d23cd93c90cb4

[CL 18823277 by Martin Ridgers in ue5-main branch]
2022-02-02 05:32:01 -05:00
Martin Ridgers
5bc2d68c05 Added a Vim tag
#preflight na
#rnx

[CL 18751482 by Martin Ridgers in ue5-main branch]
2022-01-27 03:59:00 -05:00
Martin Ridgers
ce73c08f88 Extra argument to allow filtering of the glob files
#preflight na
#rnx

[CL 18751441 by Martin Ridgers in ue5-main branch]
2022-01-27 03:47:17 -05:00
Martin Ridgers
8b20c99f54 Moved source file gathering into its own function
#preflight na
#rnx

[CL 18751395 by Martin Ridgers in ue5-main branch]
2022-01-27 03:40:34 -05:00
Martin Ridgers
02bd8be373 Conveniently copy LZ4 out if '--thin' is used
#preflight na
#rnx

[CL 18751356 by Martin Ridgers in ue5-main branch]
2022-01-27 03:34:29 -05:00
Martin Ridgers
9bdb84c2d2 Added a --thin option to ease prologue/epilogue iteration
#preflight na
#rnx

[CL 18751327 by Martin Ridgers in ue5-main branch]
2022-01-27 03:30:47 -05:00
Martin Ridgers
6bd20508a9 Separators for clarity
#preflight na
#rnx

[CL 18751304 by Martin Ridgers in ue5-main branch]
2022-01-27 03:25:21 -05:00
catalin dragoiu
436d53708b Fix Linux crash when connecting to an incorrect host address.
#jira UE-138183
#preflight 61d71ec4430de36baa4c776b
#rb Ionut.Matasaru

#ROBOMERGE-AUTHOR: catalin.dragoiu
#ROBOMERGE-SOURCE: CL 18558899 in //UE5/Release-5.0/... via CL 18558909 via CL 18558926
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18558934 by catalin dragoiu in ue5-main branch]
2022-01-10 09:09:45 -05:00
catalin dragoiu
2c2682721c Fix Linux crash when connecting to an incorrect host address.
#jira UE-138183
#preflight 61d71ec4430de36baa4c776b
#rb Ionut.Matasaru

#ROBOMERGE-AUTHOR: catalin.dragoiu
#ROBOMERGE-SOURCE: CL 18558899 in //UE5/Release-5.0/... via CL 18558909
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18558926 by catalin dragoiu in ue5-release-engine-test branch]
2022-01-10 09:08:30 -05:00
johan berg
29dbaaa94a [Insights] Trace console commands improvments.
* Added 'Trace.Enable' and 'Trace.Disable' console commands to control channels.
* 'Trace.Start' is marked as deprecated in favor of Trace.File.
* For 'Trace.File' both arguments are now optional, and heuristic for detecting a file argument implemented.
* 'Trace.Stop' no longer disables channels.
* 'Trace.Pause/Resume' now keeps a list of the current active channels which will be restored. Logic for enabling channels has been separated from EnableChannels which is used in initialization sequence.
* Changed FChannel toggling to directly write the state. This change was done to reduce confusion around enabling/disabling channels and preset that overlaps.
* Refactored some methods internal to FTraceAuxilliaryImpl

#jira UE-136002
#preflight 61d80f13430de36baa590e55

#ROBOMERGE-OWNER: johan.berg
#ROBOMERGE-AUTHOR: johan.berg
#ROBOMERGE-SOURCE: CL 18540924 in //UE5/Release-5.0/... via CL 18540956 via CL 18540960
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18540965 by johan berg in ue5-main branch]
2022-01-07 05:19:37 -05:00
johan berg
822346c9d1 [Insights] Trace console commands improvments.
* Added 'Trace.Enable' and 'Trace.Disable' console commands to control channels.
* 'Trace.Start' is marked as deprecated in favor of Trace.File.
* For 'Trace.File' both arguments are now optional, and heuristic for detecting a file argument implemented.
* 'Trace.Stop' no longer disables channels.
* 'Trace.Pause/Resume' now keeps a list of the current active channels which will be restored. Logic for enabling channels has been separated from EnableChannels which is used in initialization sequence.
* Changed FChannel toggling to directly write the state. This change was done to reduce confusion around enabling/disabling channels and preset that overlaps.
* Refactored some methods internal to FTraceAuxilliaryImpl

#jira UE-136002
#preflight 61d80f13430de36baa590e55

#ROBOMERGE-OWNER: johan.berg
#ROBOMERGE-AUTHOR: johan.berg
#ROBOMERGE-SOURCE: CL 18540924 in //UE5/Release-5.0/... via CL 18540956
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18540960 by johan berg in ue5-release-engine-test branch]
2022-01-07 05:19:00 -05:00
Martin Ridgers
3ee1c53b0c Updated prologue so that all macros that the glob source uses are always defined when preprocessing.
#rnx

[CL 18466046 by Martin Ridgers in ue5-main branch]
2021-12-15 05:33:04 -05:00
Martin Ridgers
1135d1bab3 Fixed incorrect preprocessor statement that wrapped globbed .cpp files.
#rnx

[CL 18466042 by Martin Ridgers in ue5-main branch]
2021-12-15 05:31:41 -05:00
johan berg
a0801850e1 [Insights] Added Trace.status console command
Added console command to print status of trace to in game console. In order to list the available channels a enumeration method was added.

#rb martin.ridgers
#jira UE-136018
#preflight 61b32d0dc01c89f906dc3dbd

#ROBOMERGE-AUTHOR: johan.berg
#ROBOMERGE-SOURCE: CL 18429738 in //UE5/Release-5.0/... via CL 18429749
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18429751 by johan berg in ue5-release-engine-test branch]
2021-12-10 05:52:36 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
martin ridgers
7c213f050d Script to create a single-file header version of Trace with a CPU scope implementation.
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 18203877 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v895-18170469)

[CL 18203881 by martin ridgers in ue5-release-engine-test branch]
2021-11-16 04:09:40 -05:00
martin ridgers
9688da7bbd Can't append the tail as alloc/free can get called from any thread and the tail is assumed to only be used by the worker thread (or update call). Immediately appending to the tail also desynchronises the contiguous assumption of serials within a single thread. Ultimately it's a chicken-and-the-egg problem - memory needs to be allocated to store the trace events that memory allocation traces. A redirect is kept around just in case, but its use is considered an error.
Bonus; analysis can get going quicker if a sync is added directly after the tails been sent to a new connection.
#preflight 61936d13f65efa9243c8959c

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 18203841 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v895-18170469)

[CL 18203845 by martin ridgers in ue5-release-engine-test branch]
2021-11-16 04:02:05 -05:00
martin ridgers
ce37fdd302 Removed a PLATFORM_X define in favour of the setting UE_TRACE_ENABLED in the appropriate .Build.cs file instead.
#rb jb
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 18084040 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v889-18060218)

[CL 18084143 by martin ridgers in ue5-release-engine-test branch]
2021-11-08 07:32:41 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
martin ridgers
c9fa05b88d Deprecation warning fixes.
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17998268 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 17998276 by martin ridgers in ue5-release-engine-test branch]
2021-11-01 04:39:05 -04:00
martin ridgers
dea6d7fb9d Trailing whitespace.
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17998257 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 17998266 by martin ridgers in ue5-release-engine-test branch]
2021-11-01 04:37:56 -04:00
martin ridgers
0719ca133e Multi-byte character constants are non-standard
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17998250 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 17998264 by martin ridgers in ue5-release-engine-test branch]
2021-11-01 04:37:40 -04:00
martin ridgers
75843075d8 Warning fix about an undefined (yet unused) static function
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17998182 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 17998188 by martin ridgers in ue5-release-engine-test branch]
2021-11-01 04:16:24 -04:00
martin ridgers
9f27fb8983 Missing include
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17998154 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 17998177 by martin ridgers in ue5-release-engine-test branch]
2021-11-01 04:15:26 -04:00
martin ridgers
a2d5420dca Fixed implicit padding warning
#rnx

#ROBOMERGE-AUTHOR: martin.ridgers
#ROBOMERGE-SOURCE: CL 17998141 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 17998166 by martin ridgers in ue5-release-engine-test branch]
2021-11-01 04:13:59 -04:00