Bartosz Taudul
9dea830f98
Move file compression enum out of FileWrite.
2024-05-31 19:24:32 +02:00
Andrew Woloszyn
0c7cbd1d03
Fix for assert in GetGpuSourceLocationZonesCntReal
...
When TRACY_NO_STATISTICS is defined, the assert in
GetGpuSourceLocationZonesCntReal will always get hit
as nothing is ever inserted in gpuSourceLocationZonesCnt
unless reading from a file.
Match the behavior with GetGpuSourceLocationZonesReal
to add the source location if it is missing.
2024-05-30 14:26:20 -04:00
Bartosz Taudul
d3da7dcecd
Fix out-of-bounds access on non-continuous frames.
2024-05-24 22:52:46 +02:00
Bartosz Taudul
afe5c8dfbe
Don't try to create FrameData in ProcessFrameMarkEnd().
2024-05-23 19:48:33 +02:00
Bartosz Taudul
216a4b7663
Support Create() not creating an item.
2024-05-23 19:47:40 +02:00
Bartosz Taudul
89f1fb4825
Terminate connection when memory limit is exceeded.
2024-05-05 21:04:26 +02:00
Bartosz Taudul
b64389ba15
Display memory limit in notification area.
2024-05-05 20:59:25 +02:00
Bartosz Taudul
5f0cac546b
Pass memory limit to worker.
2024-05-05 20:50:03 +02:00
Bartosz Taudul
66a32de0f7
Move physical memory size getter to a separate source file.
2024-05-04 16:53:40 +02:00
Bartosz Taudul
fee5982abd
Make InlineStackData non-static.
2024-05-04 14:42:40 +02:00
Bartosz Taudul
377e41fe61
Make memUsage an atomic.
2024-05-04 14:28:55 +02:00
Bartosz Taudul
e77224975d
Update last time when callstack or hw samples arrive.
2024-03-26 20:48:52 +01:00
Bartosz Taudul
776b08f2e0
Split core server files from the UI.
2024-03-21 23:04:38 +01:00
Bartosz Taudul
f5f82a2bd5
Don't show inline options for instrumentation statistics.
2024-03-13 23:39:16 +01:00
Bartosz Taudul
390b3d9c50
Redo inline options UI.
2024-03-13 20:04:38 +01:00
Bartosz Taudul
6c34e02dc2
Ability to display inline function cost percentages relative to base symbol.
2024-03-13 19:50:21 +01:00
Bartosz Taudul
6235343286
Disable sample parents when inline aggregation is enabled.
2024-03-13 19:15:00 +01:00
Bartosz Taudul
e155702e0a
Display count of aggregate inline functions.
2024-03-13 19:15:00 +01:00
Bartosz Taudul
3af5c7b331
Implement inline function aggregation.
2024-03-13 19:14:59 +01:00
Bartosz Taudul
f04cdb7782
Add aggregate inlines UI.
2024-03-13 19:14:59 +01:00
Bartosz Taudul
f264d0736a
Add grouping icon.
2024-03-13 19:14:59 +01:00
Ben Vanik
605cdcb5d5
Adding a copy button to the source view.
2024-03-13 09:35:16 -07:00
Bartosz Taudul
00e24e2b8c
pdqsort: Fixed overflow and simplified block partition logic. (2dc2bbd)
2024-03-13 00:42:59 +01:00
Ben Vanik
4fa5d23fa4
Adding ctrl-shift-alt-r hotkey for reconnecting.
...
This is effectively the same as clicking on the connection status
button, clicking discard, and then clicking reconnect.
2024-03-12 12:48:23 -07:00
Ben Vanik
51c99ba3c2
Adding a copy to CSV button to the statistics view.
...
This copies the visible rows of either the instrumentation or GPU
statistics view to a CSV string matching a subset of the csvexport
format.
2024-03-11 20:39:21 -07:00
Bartosz Taudul
b329eb1fcc
Change way of updating fonts in View.
...
This makes the whole process more easy to follow. It also fixes a crash
bug that was occuring when Wayland output scale changed.
2024-03-01 23:43:53 +01:00
Bartosz Taudul
03c98a8d4c
Show external frames by default.
2024-02-27 22:12:27 +01:00
Bartosz Taudul
77f8ec0b2f
Implement hiding external stack frames.
2024-02-27 02:04:30 +01:00
Bartosz Taudul
c514a5caca
Implement sorting instrumentation statistics by location.
2024-02-25 13:52:37 +01:00
David Briscoe
255e3d2829
Correctly filter allocations in memory call tree
...
Fix #723 : Memory: active allocations are incorrectly displayed in call stack tree
The range we were looking for was wrong (should be Active instead of
Inactive), but I also reworked to make the comparison clearer.
Test
Using the repro app from the bug:
1. Click "Free + Allocate" once
1. Call stack tree shows 2 entries under "Active allocations", 1 active
allocation, 0 inactive allocations in the call stack tree.
1. Click "Free + Allocate" several times
1. Call stack tree shows 1 KB of active allocations and many KB of
inactive.
2024-02-15 10:38:48 -08:00
Bartosz Taudul
5e4eae5c2e
Avoid creation of a temporary object.
2024-02-09 01:27:33 +01:00
Bartosz Taudul
fc8fc80900
Drop support for pre-0.9.0 traces.
2024-01-02 20:08:41 +01:00
Bartosz Taudul
90c7a43e8a
Less verbose CPU data table header labels.
2024-01-02 20:08:18 +01:00
Bartosz Taudul
680174685b
Pass function names to ViewSource() calls.
2024-01-02 17:04:01 +01:00
Bartosz Taudul
4757d101fc
Optional ctrl key mod check when running view source with function name.
2024-01-02 17:04:01 +01:00
Bartosz Taudul
9a5fb0bb51
Implement search for symbol matching function name when opening source view.
2024-01-02 16:15:12 +01:00
Bartosz Taudul
cf412bfb2e
Change microarchitecture fallback to ZEN4.
2024-01-02 14:56:00 +01:00
Bartosz Taudul
762582357b
Check if source location counts are in order when loading traces.
2023-12-31 14:16:50 +01:00
Bartosz Taudul
b262cb2428
Handle load failure exceptions.
2023-12-31 14:16:06 +01:00
Bartosz Taudul
5062bef69a
Add trace load failure exception.
2023-12-31 13:55:06 +01:00
Bartosz Taudul
586c6bf166
Hook up source location overflow failures.
...
Note: not tested. Expect some off-by-one bugs. Control flow may fail. Oh no.
2023-12-31 13:06:51 +01:00
Bartosz Taudul
54ee77026f
Add source location overflow failures.
2023-12-31 12:58:56 +01:00
Bartosz Taudul
58c630473a
Use thread icon for thread label in statistics.
2023-12-21 13:26:43 +01:00
Bartosz Taudul
e44db26492
Display number of groups in find zones window.
2023-12-20 17:31:00 +01:00
Bartosz Taudul
ef9b079ecc
Mark invalidGid constexpr.
2023-12-20 17:26:29 +01:00
Bartosz Taudul
56fa051bea
Display number of threads each source location is present in.
2023-12-20 17:19:26 +01:00
Bartosz Taudul
8187519775
Add threads count to SrcLocZonesSlim.
2023-12-20 17:19:26 +01:00
Bartosz Taudul
d01113150d
Calculate per-thread source location counts.
2023-12-20 16:42:37 +01:00
Bartosz Taudul
af73dba73e
Merge pull request #665 from tiago-rodrigues/trodrigues/offline_symbol_resolve
...
Add support for offline callstack symbol resolving
2023-11-27 16:53:22 +01:00
Ivan Molodetskikh
ad39a01de1
Don't error on frame end without start ( #666 )
...
With on-demand profiling we're very likely to connect in the middle of a
discontinuous frame and thus receive a frame end without any preceding
frame start. So don't error out in this case.
2023-11-19 19:09:58 +01:00