676 Commits

Author SHA1 Message Date
laura hermanns
1d344a72de [UBA] Add breadcrumbs to UBA trace files.
This change adds a new field to the ProcessStartInfo struct in UBA trace files for a description of the task, called "breadcrumbs" which allow to diagnose and backtrace the origin of a UBA task.
This is also hooked up to the distributed shader compilation (added as new field in FTaskCommandData) and a descriptive string is generated for each shader compile job batch.
UbaVisualizer is updated accordingly to integrate this new data when hovering over a task in the timeline.
This feature can be enabled via the new CVar "r.ShaderCompiler.DistributedJobDescriptionLevel" with values 0 (Disabled), 1 (Basic information), 2 (Adds shader format to each job). It's disabled by default.

#rb dan.elksnitis, henrik.karlsson
#rnx

[CL 36346831 by laura hermanns in 5.5 branch]
2024-09-17 15:08:58 -04:00
Ryan Hummer
4af2fd066d Updating Dev-Release-5.5 from Main at CL #36144969
#okforversepublic

[CL 36146571 by Ryan Hummer in Dev-5.5 branch]
2024-09-10 10:26:02 -04:00
henrik karlsson
bcdd98b30c [UBA]
* Improved UbaVisualizer logic when connected via network

[CL 36032186 by henrik karlsson in ue5-main branch]
2024-09-05 03:09:28 -04:00
henrik karlsson
26d59793e8 [UBA]
* Fixed so shaders can now be compiled remotely on macos

[CL 36031687 by henrik karlsson in ue5-main branch]
2024-09-05 02:01:24 -04:00
henrik karlsson
0874b71192 [UBA]
* Fixed some application rules for non windows

[CL 36031327 by henrik karlsson in ue5-main branch]
2024-09-05 00:12:36 -04:00
henrik karlsson
ee914977a5 [UBA]
* Fixed linux/macos crash when sub process with more than 1024 arguments were spawned

[CL 36030782 by henrik karlsson in ue5-main branch]
2024-09-04 22:51:12 -04:00
henrik karlsson
2097c7d617 [UBA]
* LOTS of fixes around posix detouring path. With this code it is now possible to get through compile shaders remotely on mac (even though the output is causing some errors).

[CL 36027576 by henrik karlsson in ue5-main branch]
2024-09-04 19:40:49 -04:00
henrik karlsson
296227d131 [UBA]
* Fixed so visualizer shows *bps (bits) for networking to reduce confusing of if it is byte or bit

[CL 36026672 by henrik karlsson in ue5-main branch]
2024-09-04 18:54:49 -04:00
henrik karlsson
56e42e486a [UBA]
* Fixed debug log entry that could cause bufferrun.. now capped to 100 characters
* Changed so FatalAssert does a signal kill instead of exit

[CL 36026357 by henrik karlsson in ue5-main branch]
2024-09-04 18:41:19 -04:00
henrik karlsson
90cad8e3c9 [UBA]
* Fixed unit test compile error on mac

[CL 35986147 by henrik karlsson in ue5-main branch]
2024-09-03 18:09:05 -04:00
henrik karlsson
3af84ad1ac [UBA]
* Added so agent can use environment variables in parameters in to maxcpu and mulcpu

[CL 35982665 by henrik karlsson in ue5-main branch]
2024-09-03 17:12:48 -04:00
henrik karlsson
500480981e [UBA]
* Fixed so MoveFile/CopyFile works with child processes. Now parent's "writtenfiles" is read from child process upon start
* Fixed some bugs related to spawning child processes with poorly formatted paths
* Fixed hang if parent process crashes after starting child process

[CL 35982637 by henrik karlsson in ue5-main branch]
2024-09-03 17:11:48 -04:00
carl bystrom
000b4b8b12 [UBA]
* Ignore invalid values for -maxcpu and -mulcpu arguments

Rather than aborting the default value is used instead, only printing a warning.

#jira UE-209414
#rb Henrik.Karlsson

[CL 35969400 by carl bystrom in ue5-main branch]
2024-09-03 11:44:40 -04:00
henrik karlsson
c7d6545402 [UBA]
* Added HostRun command which can be used to send commands from remotes to host. command will return stdout

[CL 35946269 by henrik karlsson in ue5-main branch]
2024-08-30 22:52:40 -04:00
henrik karlsson
66b17acde7 [UBA]
* Added StringView::StartsWith
* Changed so CasKeyBuilder::Update returns itself

[CL 35941984 by henrik karlsson in ue5-main branch]
2024-08-30 19:23:42 -04:00
henrik karlsson
6d2e0584fe [UBA]
* Fixed mac unit test compile error

[CL 35911895 by henrik karlsson in ue5-main branch]
2024-08-29 21:10:09 -04:00
henrik karlsson
dd7fd6e0b0 [UBA]
* Fixed macos shipping compile error

[CL 35911634 by henrik karlsson in ue5-main branch]
2024-08-29 20:51:09 -04:00
henrik karlsson
826c22972b [UBA]
* Removed logging that should not be there

[CL 35911223 by henrik karlsson in ue5-main branch]
2024-08-29 20:29:13 -04:00
henrik karlsson
709453003a [UBA]
* Added UBA_IS_DETOURED_INCLUDE define in posix detours file

[CL 35910865 by henrik karlsson in ue5-main branch]
2024-08-29 20:10:08 -04:00
henrik karlsson
d41c0fb7a1 [UBA]
* Fixed code using wrong platform define

[CL 35910820 by henrik karlsson in ue5-main branch]
2024-08-29 20:08:08 -04:00
henrik karlsson
2459ddabf6 [UBA]
* Fixed so dlopen work properly remotely and downloads dylib plus depending dylib before trying to load them

[CL 35910648 by henrik karlsson in ue5-main branch]
2024-08-29 19:59:39 -04:00
henrik karlsson
18d62201bb [UBA]
* Fixed bug with how loader paths are sent from detour to session

[CL 35910140 by henrik karlsson in ue5-main branch]
2024-08-29 19:38:08 -04:00
henrik karlsson
8d98ff6120 [UBA]
* Added support for sending loader paths through GetFullFilename logic

[CL 35909987 by henrik karlsson in ue5-main branch]
2024-08-29 19:28:38 -04:00
henrik karlsson
7b39171a86 [UBA]
* Fixed so casentries collected through populating from disk have their verified and exists set to true
* Changed so copyorlink the cas data to temporary folders for execution are never linked on macos.. for some reason this does not always work which is strange

[CL 35908391 by henrik karlsson in ue5-main branch]
2024-08-29 18:05:36 -04:00
henrik karlsson
07e462e621 [UBA]
* Added -noproxy option to UbaAgent to be able to spawn agents that are not allowed to be proxy of others

[CL 35907579 by henrik karlsson in ue5-main branch]
2024-08-29 17:30:46 -04:00