Commit Graph

184 Commits

Author SHA1 Message Date
henrik karlsson
625a953da9 [UBA]
* Fixed so include-what-you-use json output is working properly with uba. "puts" implementation is wrong but don't remember why it was added first place so didn't dare changing it too much.. current change only affect remote helpers running on wine
* Fixed ubavisualizer hittest logic when status lines are added
* Enabled remote log transfer by default in UbaCli



#changelist validated
#virtualized

[CL 31224327 by henrik karlsson in ue5-main branch]
2024-02-06 14:03:28 -05:00
henrik karlsson
b3e84767c7 [UBA]
* Added support for PagingFiles registry key containing drive letter '?'. Not sure exactly what this mean except that it can exist if system automatically manage page files for all drives. We resort to use first entry in ExistingPageFiles registry key to figure out drive

[CL 31198385 by henrik karlsson in ue5-main branch]
2024-02-05 19:09:12 -05:00
sergio gardeazabal
9728fc156b [UBA] Disable power throttling in created processes to ensure P-Cores are preferred over E-Cores on Intel Hybrid architectures platforms
#jira UE-205966

#rb henrik.karlsson

[CL 31193922 by sergio gardeazabal in ue5-main branch]
2024-02-05 17:56:36 -05:00
henrik karlsson
b4552f4816 [UBA]
* Fixed logic calculating max page file size. System-managed page file logic was wrong giving calculations that were way to high

[CL 31161437 by henrik karlsson in ue5-main branch]
2024-02-03 23:55:33 -05:00
henrik karlsson
35e9c13936 [UBA]
* Fixed up replay controls in visualizer

[CL 31148125 by henrik karlsson in ue5-main branch]
2024-02-02 18:30:47 -05:00
henrik karlsson
03e44346be [UBA]
* Fixed bug where error messages written to trace stream could be bigger than max size for a write scope. Previous number was 4k, now changed to 256k instead (I don't expect an individual error message to be bigger than 256k at least!)

[CL 31135204 by henrik karlsson in ue5-main branch]
2024-02-02 14:32:34 -05:00
henrik karlsson
b35413a335 [UBA]
* Proper fix of bug where code could write 8 bytes outside memory allocation

[CL 31127482 by henrik karlsson in ue5-main branch]
2024-02-02 11:27:44 -05:00
henrik karlsson
85b847a049 [Uba]
* Fixed bug in storage client code that directly decompress network data to disk/mem. It could write outside buffer by 8 bytes
* Added UbaCli -checkcas2  .. this codepath creates a storage server and client and networks all cas files over.. just to check so code paths properly work
* Fixed UbaCli -checkaws bug

[CL 31118503 by henrik karlsson in ue5-main branch]
2024-02-02 02:00:29 -05:00
henrik karlsson
59cd3b1849 [UBA]
* Added support for custom text in trace/visualizer... can be used to report things like horde status etc

[CL 31118070 by henrik karlsson in ue5-main branch]
2024-02-02 00:30:28 -05:00
henrik karlsson
f880f99061 [UBA]
* Added more error handling of failing VirtualAlloc

[CL 31058579 by henrik karlsson in ue5-main branch]
2024-01-31 14:26:49 -05:00
henrik karlsson
85837b6ef5 [UBA]
* Fixed so renaming from castemp to real destination handle cross-device

[CL 31058118 by henrik karlsson in ue5-main branch]
2024-01-31 14:16:07 -05:00
henrik karlsson
eee33ba668 [UBA]
* Fixed so stdout/err is redirected to pipe on detoured processes on linux/mac.. this should fix so errors are visualized in the right place
* Added -nostdout to UbaCli to be able to check that redirected stdout/err works
* Added version for process messages to catch issues where ppl have old ubaagent.exe but new ubadetours.dll
* Added capacity parameter to FixPath and added asserts to check that we never write outside capacity
* Fixed code creating g_virtualApplication buffer.
* Disabled asserts for mac non debug builds
* Removed detoured write/fwrite for posix now when we instead redirect stdout/err
* Enabled some unit tests for linux now when they work as intended regarding redirected stdout/err

[CL 31029918 by henrik karlsson in ue5-main branch]
2024-01-30 19:05:51 -05:00
zack neyland
e54e7c2327 UBA: Improve the Mac Helper App.
* Adds a settings menu
* Install from P4
* Pick a binary
* Launch at Startup
* Uses App Storage for Settings

[CL 31019287 by zack neyland in ue5-main branch]
2024-01-30 15:45:39 -05:00
henrik karlsson
8a52cbe8fc [UBA]
* Added more context menu options in visualizer to navigate trace

[CL 30991881 by henrik karlsson in ue5-main branch]
2024-01-30 02:19:51 -05:00
henrik karlsson
0eaf4b8111 [UBA]
* Fixed some error handling for posix
* Improved some logging
* Disabled some unit tests on linux because they always fail

[CL 30991796 by henrik karlsson in ue5-main branch]
2024-01-30 02:17:34 -05:00
henrik karlsson
3ea6ef91db [UBA]
* Removed error on linux for failing poll call

[CL 30987771 by henrik karlsson in ue5-main branch]
2024-01-29 23:59:19 -05:00
henrik karlsson
9366bc899f [Uba]
* Skip clang test if clang does not exists on machine

[CL 30984644 by henrik karlsson in ue5-main branch]
2024-01-29 21:46:35 -05:00
zack neyland
505cac5c83 UBA: Add if some defs around POLLUP for platform differences
[CL 30983584 by zack neyland in ue5-main branch]
2024-01-29 21:01:39 -05:00
henrik karlsson
16dd55e3a3 [UBA]
* Removed ExitProcess call when showing assert info in CreateProcess call where process tries to spawn winedbg

[CL 30981979 by henrik karlsson in ue5-main branch]
2024-01-29 19:49:11 -05:00
zack neyland
59077f46f4 UBA: Close fds when done with polling to stop leaking on MacOS.
[CL 30980705 by zack neyland in ue5-main branch]
2024-01-29 18:45:46 -05:00
henrik karlsson
c862a322c7 [UBA]
* Added lock around socket send for windows to see if it will resolve some of the crazy socket send times on the farm

[CL 30976001 by henrik karlsson in ue5-main branch]
2024-01-29 15:06:05 -05:00
henrik karlsson
89dbbcf0c2 [UBA]
* Removed realpath test for linux because test machines do not have clang installed

[CL 30972943 by henrik karlsson in ue5-main branch]
2024-01-29 12:37:43 -05:00
henrik karlsson
6aeefa8f73 [Uba]
* Disable storage unit test for linux for now. need help getting access to a machine that this fails on.. all machines I've tested on works

[CL 30963185 by henrik karlsson in ue5-main branch]
2024-01-29 02:16:16 -05:00
henrik karlsson
0d51a68c53 [Uba]
* Fixed file descriptor leak when running native processes on posix platforms
* Removed hangup test on poll for pipe file descriptors since it exited to early and missed reads

[CL 30963156 by henrik karlsson in ue5-main branch]
2024-01-29 02:13:15 -05:00
henrik karlsson
1d1bfcb383 [Uba]
* Added hint string to CreateFileMapping to be able to have better errors

[CL 30895079 by henrik karlsson in ue5-main branch]
2024-01-25 14:24:26 -05:00