Commit Graph

828 Commits

Author SHA1 Message Date
Clément Grégoire
fdff47ecdb Add culling for the thread wakeups 2025-04-09 14:40:25 +02:00
Clément Grégoire
40047c1eb6 Fix sign of time input (would lead to bad position computations due to always unsigned delta results) 2025-04-09 14:06:41 +02:00
Clément Grégoire
6486d8147d Fix formating issues 2025-04-08 13:48:50 +02:00
Clément Grégoire
df76b376a7 Thread wakeup visualization
This PR does the following things:
- Allow to lock the highlighted thread using left mouse click or lane popup menu
- Add more descriptions for wait reasons in View::DecodeContextSwitchReason
- Stores the Wakeup CPU so that we may display it in the CPU data view
- `QueueThreadWakeup` now contains cpu and adjust info (currently unused). Fits in the padding, no struct size change.
- `QueueContextSwitch` now also contains thread priorities information (windows+linux) and CState (windows), but currently unused by the profiler. Fits in the padding, no struct size change.
- Fixes Linux `EventWakeup` which tries to remove PERF_SAMPLE_CALLCHAIN on the wrong member. Set the whole `perf_event_attr` explicitely instead.
- Fixes Windows ReadyThread event being dropped if triggered before the thread switches out (this is confirmed to be normal behaviour, probably due to thread being switched out but context switch actually happening later)
- Bumps tracy file version and protocol versions
2025-04-08 11:02:27 +02:00
bbb651
ae2e6d0a7b wayland: Activate window with XDG_ACTIVATION_TOKEN. 2025-03-09 00:45:51 +02:00
Clément Grégoire
7455e5890e Let CMake discover python3 and make it required since it is effectively needed to build
This gives a better error message and helps finding the correct python executable since python3 may actually be only named python on windows for example.
2025-03-08 16:37:09 +01:00
Bartosz Taudul
48efd98df7 Unmap icon buffer memory. 2025-02-20 00:14:24 +01:00
Brad Anderson
50ff279aad Include <chrono> explicitly in TraceyView
In Visual Studio 17.13 the STL team at Microsoft cleaned up internal includes of other public STL headers (most notably <chrono>) to increase build throughput for STL users, but now you need to include them yourself rather than rely on the indirect inclusion.
2025-02-12 11:40:27 -07:00
Bartosz Taudul
367ed69501 Use XDG toplevel icon protocol to set the icon. 2025-02-12 00:21:27 +01:00
Bartosz Taudul
9b7d53a979 Add short images option to callstack / wait stacks window. 2025-02-07 17:34:19 +01:00
Bartosz Taudul
ad5615cda2 Short image names in sample entry stacks window. 2025-02-07 17:28:55 +01:00
Bartosz Taudul
b8a64190dc Add external frames checkbox to sample entry stacks window. 2025-02-07 17:16:18 +01:00
Bartosz Taudul
3b48252bb3 Move "group by function name" checkbox to a more appropriate place. 2025-02-07 17:15:52 +01:00
Bartosz Taudul
526e41b5dc Don't show image tooltip, if there's no shortening and it fits the space. 2025-02-07 02:43:32 +01:00
Bartosz Taudul
cfc67727a0 Add button to view entry stacks from the symbol view. 2025-02-07 02:39:00 +01:00
Bartosz Taudul
015a27bb4e Cosmetics. 2025-02-07 02:29:08 +01:00
Bartosz Taudul
f1128f825d Rename "sample entry call stacks" to "sample entry stacks". 2025-02-07 02:27:43 +01:00
Bartosz Taudul
c38764db3c Add appropriate tooltips for image names. 2025-02-07 02:21:52 +01:00
Bartosz Taudul
408939862b Add an option to display only the file part of image name. 2025-02-07 02:17:40 +01:00
Bartosz Taudul
7fc3366086 Add support for keeping external tails in flame graph. 2024-12-16 16:48:51 +01:00
Bartosz Taudul
99d39e6eee Separate call stack traversal from flame graph building. 2024-12-16 16:41:00 +01:00
Bartosz Taudul
9d839c52d1 Allow filtering out external frames in flame graph. 2024-12-16 16:21:31 +01:00
Bartosz Taudul
70fc28506f Expose IsFrameExternal as View's method. 2024-12-16 16:21:31 +01:00
Bartosz Taudul
1e796064bc Add external frames UI to flame graph. 2024-12-16 16:21:31 +01:00
Bartosz Taudul
bb02d0b0af Add icon to external frames checkbox. 2024-12-16 14:21:05 +01:00
Dirk Eibach
f0ee324399 Add absolute time info to Zone info view 2024-11-27 22:31:48 +01:00
Bartosz Taudul
e756fa75cf Fix UI. 2024-11-17 12:20:55 +01:00
Bartosz Taudul
e6ee311392 Merge pull request #926 from WernherVonData/percentiles-for-find-zone
Percentiles p75, p90 for FindZone view
2024-11-17 12:18:27 +01:00
wernhervondata
b9b808ca12 fixup! percentiles p75, p90 for FindZone view 2024-11-17 10:26:24 +01:00
wernhervondata
cc0f158c16 percentiles p75, p90 for FindZone view 2024-11-16 15:11:46 +01:00
imkunet
0cac843ad7 Add scroll modifier options 2024-11-14 18:10:14 +01:00
Bartosz Taudul
55ea2a20e7 Set minimum size for folded flame graph items. 2024-10-27 19:59:48 +01:00
Bartosz Taudul
2097e3c836 Normalize flame graph sample frame names, to mach callstack list behavior. 2024-10-27 19:53:32 +01:00
Bartosz Taudul
84718101fe Use proper name for inline frames in flame graph. 2024-10-27 19:44:40 +01:00
Bartosz Taudul
ecf3b30baf Add minimum width for flame graph items to be drawn. 2024-10-27 12:53:52 +01:00
Bartosz Taudul
ceeea7712d Use precalculated start times. 2024-10-27 12:00:34 +01:00
Bartosz Taudul
9d2f874b02 Calculate flame graph begin times. 2024-10-27 11:58:23 +01:00
Bartosz Taudul
92241fc0a4 Fix typo. 2024-10-27 11:30:50 +01:00
Bartosz Taudul
869d75f53e Extract flame graph level drawing to a separate function. 2024-10-27 11:27:44 +01:00
Bartosz Taudul
3dc68bcb76 Update ImGui to 1.91.4-docking. 2024-10-18 22:58:04 +02:00
Bartosz Taudul
d0a7ee1692 Center elevated privileges warning message. 2024-10-16 00:32:11 +02:00
Bartosz Taudul
60f461d94d Add debug build note to about window. 2024-10-16 00:28:24 +02:00
Bartosz Taudul
f7e26acfb9 Additional kernel frame check. 2024-10-16 00:22:06 +02:00
Bartosz Taudul
9baf5f403c Make the check explicit. 2024-10-16 00:21:01 +02:00
Bartosz Taudul
44bb5d474b Simplify condition. 2024-10-16 00:21:01 +02:00
Bartosz Taudul
c2b4e81493 Display omitted external frame counts. 2024-10-15 02:22:52 +02:00
Bartosz Taudul
27d7939cc1 Improve "no annotations" view. 2024-10-15 02:04:45 +02:00
Bartosz Taudul
1ab0b5abd2 Improve "no wait stacks" view. 2024-10-15 01:51:58 +02:00
Bartosz Taudul
8a7f540d7c Fill emptiness in find zone window awaiting for query. 2024-10-15 01:29:08 +02:00
Bartosz Taudul
697ea8b3b3 Mark debug builds. 2024-10-14 23:39:54 +02:00