Commit Graph

14 Commits

Author SHA1 Message Date
henrik karlsson
11ed67aeed [UBA]
* Added log entries to trace file

[CL 30669670 by henrik karlsson in ue5-main branch]
2024-01-17 16:49:50 -05:00
henrik karlsson
fa2772e27d [UBA]
* Added so in-process proxy can use storage of client
* Fixed reset of trace reader
* Fixed annoying warnings when closing invalid sockets

[CL 30667316 by henrik karlsson in ue5-main branch]
2024-01-17 15:28:30 -05:00
zack neyland
c91ba1805b UBA: Fixes various small bugs.
[CL 30662921 by zack neyland in ue5-main branch]
2024-01-17 13:07:52 -05:00
henrik karlsson
cdfbe93014 [UBA]
* Fixed so -replay works again when viewing files

[CL 30643275 by henrik karlsson in ue5-main branch]
2024-01-16 15:35:42 -05:00
henrik karlsson
4fc49e9e97 [UBA]
* Fixed visualizer drawing lines between two sessions started from the same client
* Removed the "- Disconnected" entries where client was disconnected super early before any information was available

[CL 30526213 by henrik karlsson in ue5-main branch]
2024-01-10 03:05:23 -05:00
henrik karlsson
e30e9214aa [UBA]
* Added popup menu on right mouse click
* Added so it is possible to save active visualizing session

[CL 30509401 by henrik karlsson in ue5-main branch]
2024-01-09 12:43:47 -05:00
henrik karlsson
ea673427b2 [UBA]
* Implemented process reuse logic in UbaScheduler. It is now possible for running processes to fetch more work
* Fixed bugs in custom message path
* Fixed bugs in FlushWrittenFiles message
* Changed So UpdateEnvironment is resetting stats
* Fixed potential race condition related to process reuse
* Added special rule for ShaderCompileWorker.exe which detours ImageGetDigestStream in Imagehlp.dll (because wine implementation does not match windows implementation)
* Renamed "exitedUserData" to just userData since it is used for more than when exiting process
* Added a couple more dlls to "known system dlls"
* Fixed so visualizer can visualize process reuse properly

[CL 30462059 by henrik karlsson in ue5-main branch]
2024-01-02 17:42:42 -05:00
henrik karlsson
32f666ea42 [UBA]
* Added Scheduler class that is a very simple scheduler that handles processes that has no intra dependencies. It handles scheduling remotely and also reschedule processes returned from remote machines.
* Changed so application dependencies are retrieved in parallel by clients
* Added so custom assert handler can be set from the outside
* Added traceEnabled to SessionCreateInfo so trace shared mem can be created without needing to launch visualizer or write to file
* Added so userData can be provided in RemoteProcessAvailable and RemoteProcessReturned callbacks
* Added more files to known system files (based on what exists in wine)
* Improved FindImports code and made it available in export. (it is now automatically filtering out known system files)
* Moved ProcessHandle to its own file
* Added ProcessStartInfoHolder which is a class that can wrap a ProcessStartInfo and make sure all strings are allocated

[CL 30437951 by henrik karlsson in ue5-main branch]
2023-12-22 02:41:43 -05:00
henrik karlsson
1a08aa22d7 [UBA - Visualizer]
* Fixed bug in listen flow so it sometimes didn't pick up new traces.
* Fixed annoying messagebox that popped up when starting listen session sometimes

[CL 30406947 by henrik karlsson in ue5-main branch]
2023-12-19 19:50:04 -05:00
henrik karlsson
054d26f056 [UBA]
* Fixed so all visualization of times in visualizer is taking timer frequency into account

[CL 30344197 by henrik karlsson in ue5-main branch]
2023-12-15 03:06:12 -05:00
henrik karlsson
3b2c6c6feb [UBA]
* Fixed visualizer crash

[CL 30284831 by henrik karlsson in ue5-main branch]
2023-12-12 21:27:20 -05:00
henrik karlsson
348667e01f [UBA]
* Fixed so visualizer is showing correct ping numbers when showing linux builds

[CL 30069648 by henrik karlsson in ue5-main branch]
2023-12-03 02:50:01 -05:00
henrik karlsson
bcfa7e60a6 [Uba] * Added code to handle leaked shm_open. This is made by creating "lock files" which only purpose is to keep track of which shm_open that is used and not. When a shm_open is created a lock-file is also created and locked. When process dies, all files gets unlocked. When a new session starts we can traverse the lock-files and see which ones are not locked, those belonged to a process that does not exist anymore, and we can call shm_unlink on those and delete them. This change solves the ever leaking shm_open entries causing machine to eventually go oom
[CL 30032365 by henrik karlsson in ue5-main branch]
2023-11-30 22:03:49 -05:00
joe kirchoff
9affe69d97 UnrealBuildAccelerator: Experimental for 5.4
#jira UE-197967

[CL 30002804 by joe kirchoff in ue5-main branch]
2023-11-29 18:47:11 -05:00