Commit Graph

566 Commits

Author SHA1 Message Date
ionut matasaru
d9563b28ec Fixed "disableunity" build when UE_TRACE_ENABLED is off but UE_TRACE_SERVER_LAUNCH_ENABLED is on.
#rb Johan.Berg

[CL 30770666 by ionut matasaru in ue5-main branch]
2024-01-22 09:20:58 -05:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
steve robb
66266c6a11 Fixed up DerivedDataCache, DesktopPlatform, ApplicationCore, AssetRegistry, Core, CoreUObject, Projects, Sockets code to use EAllowShrinking instead of bools.
[CL 30676428 by steve robb in ue5-main branch]
2024-01-17 19:51:06 -05:00
marc audy
19e84555b3 Silence PVS warnings
[CL 30653812 by marc audy in ue5-main branch]
2024-01-17 01:34:02 -05:00
catalin dragoiu
0dd3cb2478 [Insights] Fix Unreal Insights Context Switch channel not enabling from Editor Widget correctly
#jira UE-181171
#rb ionut.matasaru

[CL 30634034 by catalin dragoiu in ue5-main branch]
2024-01-16 10:42:32 -05:00
ionut matasaru
c7b81e8e3a [Insights] Added the Windows error message to the log warning when the "UnrealTraceServer.exe" process fails to start. Also updated log messages re UTS launch.
#rb Johan.Berg

[CL 30590072 by ionut matasaru in ue5-main branch]
2024-01-12 06:32:59 -05:00
ionut matasaru
395e02a608 CsvProfiler: Added named events (and trace cpu timing events) also for Csv stats identified by FName.
#rb ben.woodhouse

[CL 30398980 by ionut matasaru in ue5-main branch]
2023-12-19 13:01:08 -05:00
johan berg
60c0d33cbe Temporary fix, removing sponsor argument
#rb ionut.matasaru

[CL 30395111 by johan berg in ue5-main branch]
2023-12-19 10:45:00 -05:00
dmytro ivanov
b8a0694f0a Hooking libc.so malloc/free/etc into memory tracer on Android
#jira UE-200096
#rb Chris.Babcock, ionut.matasaru

[CL 30376336 by dmytro ivanov in ue5-main branch]
2023-12-18 10:56:29 -05:00
ben woodhouse
dfef04e6fc Make it possible to enable CSV categories via config and also add support for hotfixing
#rb john.huelin
#tests Tested with a replay in a cooked build

[CL 30358791 by ben woodhouse in ue5-main branch]
2023-12-15 15:39:05 -05:00
johan berg
279156f276 Expose UTS controls and start with sponsor argument
* Expose Unreal Trace Server launching facilities in FTraceServerControl interface. Only enabled on platforms that can actually launch UTS.
* Renamed WITH_UNREAL_TRACE_LAUNCH to UE_TRACE_SERVER_LAUNCH_ENABLED
* Always start UnrealTraceServer with sponsor argument.

#rb ionut.matasaru

[CL 30346679 by johan berg in ue5-main branch]
2023-12-15 07:56:03 -05:00
tom holmes
58c4bd03b3 MemFree isn't including CachedAllocatorSlack in Shipping
#rb Mickael.Gilabert
[FYI] Tyler.Staples, Eric.McDaniel
#tests ReplayRun, XB1

[CL 30281843 by tom holmes in ue5-main branch]
2023-12-12 18:34:42 -05:00
marcelo gomes
64b36b8582 In automated perf tests that capture csvs, include the device ip in the additional csv metadata
#rb Brendan.Lienau

[CL 30090248 by marcelo gomes in ue5-main branch]
2023-12-04 14:15:00 -05:00
ionut matasaru
c99672cda8 [Insights] CpuProfiler:
- Flushed the thread buffer (if not already empty) when the thread ends.
  - Added timestamp ("Cycle" field) to the "CpuProfiler.EndThread" event.
  - Removed unused "CpuProfiler.EndCaptureV2" event.

#rb Johan.Berg, Catalin.Dragoiu

[CL 30075996 by ionut matasaru in ue5-main branch]
2023-12-04 06:50:16 -05:00
marc audy
763a611985 Fix C4072 warnings
#rnx

[CL 29852844 by marc audy in ue5-main branch]
2023-11-20 17:26:53 -05:00
dmytro ivanov
472be09f89 Enable memory tracing on Android
#jira UE-200096
#rb ionut.matasaru, Johan.Berg

[CL 29637861 by dmytro ivanov in ue5-main branch]
2023-11-10 08:42:29 -05:00
matt peters
f4e0d54110 WindowsMemoryTrace: Fix compilation errors in _WIN32_WINNT>=0xA00.
#rnx
#rb Johan.Berg

[CL 29406189 by matt peters in ue5-main branch]
2023-11-03 10:32:53 -04:00
ionut matasaru
4fecb9d77e Fixed memory tracing for OnDllUnloaded (i.e. MemoryTrace_UnmarkAllocAsHeap needs to match the MemoryTrace_MarkAllocAsHeap).
#rb Catalin.Dragoiu

[CL 28836663 by ionut matasaru in ue5-main branch]
2023-10-17 08:35:00 -04:00
johan berg
89ee1ba3a4 Don't try to auto-connect when already connected
Trace auto-connecting did not check current state before trying to connect, causing an error to be emitted.

#rb ionut.matasaru

[CL 28412382 by johan berg in ue5-main branch]
2023-10-03 09:45:26 -04:00
johan berg
61c28e1623 Add failsafe for memory tracing on Windows
Adds an extra check when looking for functions on callstack tracing on Windows. This issue has been observed on Clang compiled targets. Thanks to phisko for PR.

#rb martin.ridgers

[CL 28409873 by johan berg in ue5-main branch]
2023-10-03 07:40:00 -04:00
steve robb
a84e22104b Replaced GET_VARARGS* macros with GET_TYPED_VARARGS*.
#rb james.hopkin
#jira UE-194628

[CL 28346416 by steve robb in ue5-main branch]
2023-09-29 13:00:07 -04:00
danny couture
87115fc8bf Add flush feature to CpuProfiler that can be used before entering a long single operation like a wait that could be missed in UnrealInsights in case of deadlock
#rnx
#rb Ionut.Matasaru

[CL 28315289 by danny couture in ue5-main branch]
2023-09-28 08:40:04 -04:00
johan berg
ea1c4720e2 Reenable auto-start of UnrealTraceServer on Mac
#rb ionut.matasaru
#jira UE-188183

[CL 27883401 by johan berg in ue5-main branch]
2023-09-14 12:42:43 -04:00
catalin dragoiu
36583085d6 [Insights] Add a new persistent setting "Auto Connect" to the Session Browser page that controls if the Editor and Game should auto connect and start tracing if Insights Session Browser is open.
#jira UE-194404
#rb Ionut.Matasaru

[CL 27801419 by catalin dragoiu in ue5-main branch]
2023-09-12 14:32:03 -04:00
tyler staples
6eb4cc07c1 CsvProfiler - Add end capture timestamp to the csv metadata.
This allows easily calculating capture duration by checking the delta between StartTimestamp and the new EndTimestamp. This is much faster than trying to calculate the duration by looking at all the frame times.

#rb ben.woodhouse

[CL 27461382 by tyler staples in ue5-main branch]
2023-08-29 15:39:45 -04:00