Commit Graph

8656 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
b0375776b5 Address documentation comments 2025-04-08 16:57:02 +02:00
Clément Grégoire
d78085fa80 Documentation attempt for thread migration and wakeup 2025-04-08 16:31:17 +02:00
Clément Grégoire
4e282371bf Version 0.11.3 instead of 0.12.0 2025-04-08 13:51:32 +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
Bartosz Taudul
9074461ffb Merge pull request #1005 from jrng/gpu-zero-callstack
Handle callstack of zero in Vulkan and Direct3D 11
2025-03-10 22:23:21 +01:00
Julius Range-Lüdemann
eb47afe1f0 Handle callstack of zero in Vulkan and Direct3D 11
With TRACY_CALLSTACK set to 0 when not defined, these gpu functions get
called with depth=0. In other places this was alread fixed.
2025-03-10 21:38:59 +01:00
Bartosz Taudul
873c6ecac8 Merge pull request #1004 from bbb651/xdg-activation
wayland: Activate window with `XDG_ACTIVATION_TOKEN`.
2025-03-09 12:23:47 +01:00
bbb651
ae2e6d0a7b wayland: Activate window with XDG_ACTIVATION_TOKEN. 2025-03-09 00:45:51 +02:00
Bartosz Taudul
1530884256 Merge pull request #1003 from Lectem/cmake-require-python
Let CMake discover python3 and make it required
2025-03-08 17:31:35 +01: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
2183962ef7 Merge pull request #995 from anthofoxo/lua-hook
Provide Lua hook function for automatic Lua instrumentation.
2025-03-01 11:43:06 +01:00
AnthoFoxo
bc7ec5b89b Improve wording in tracy.tex for automatic lua instrumentation 2025-02-28 23:52:23 -05:00
AnthoFoxo
9b3c46dd5e Document automatic Lua instrumentation in tracy.tex 2025-02-28 08:41:42 -05:00
AnthoFoxo
54dcbc87ad implement lua hook function 2025-02-26 21:09:31 -05:00
FrK5E
b8c2e25c3d Fix a build of OpelCLVectorAdd example on linux (#989)
* Add a <cmath> as to fix unknown symbol sqrt whist building on linux (gcc). Remove <algorithm> as a consequence of clangd suggestion.

* adjust according to the review comment
2025-02-26 15:37:49 +01:00
Bartosz Taudul
b04dfcd43d Use ccache if available. 2025-02-21 23:27:15 +01:00
Bartosz Taudul
48efd98df7 Unmap icon buffer memory. 2025-02-20 00:14:24 +01:00
Bartosz Taudul
c5dc5f4455 Bump zstd to 1.5.7, use CPM to download. 2025-02-19 23:47:37 +01:00
Bartosz Taudul
8ad05c66ae Merge pull request #987 from mtreglia-gpsw/meson/fixes
Change meson install settings to correctly copy directory hierarchy
2025-02-19 13:34:05 +01:00
Bartosz Taudul
6566d6a8d8 Merge pull request #988 from mtreglia-gpsw/tools/install
Add install target for binaries in capture and csvexport
2025-02-19 13:34:00 +01:00
Marco Treglia
ad61037925 Add install target for binaries in capture and csvexport 2025-02-19 09:41:32 +01:00
Marco Treglia
2d53818e55 Changed mesong.build 2025-02-19 09:36:55 +01:00
Marco Treglia
d966ecf9f7 add TracyKCore in meson.build 2025-02-19 09:36:50 +01:00
Bartosz Taudul
d71fc39577 Merge pull request #986 from Xnuman/master
Change cmake export settings to correctly copy directory hierarchy
2025-02-19 00:46:12 +01:00
Xnum
40d12b6a53 Changed CMakeLists.txt 2025-02-18 23:38:25 +01:00
Bartosz Taudul
4a5a21cdb0 Merge pull request #982 from brad-anderson/patch-1
Include <chrono> explicitly in TraceyView
2025-02-12 20:05:58 +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
8b3638e8e2 Merge pull request #981 from slomp/patch-1
quick-fix for TracyD3D11.hpp
2025-02-10 18:45:58 +01:00
Marcos Slomp
5c069f9d8d quick-fix for TracyD3D11.hpp
Apparently, waiting for an enclosing query does not guarantee that the inner queries also become readily available... Need to wait for them too.
2025-02-10 09:13:33 -08: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
3ac95e6902 Bump imgui to 1.91.8. 2025-02-03 19:54:39 +01:00
Bartosz Taudul
0c228533f2 Merge pull request #978 from phsilva/master
Fix python bindings build
2025-01-29 01:42:46 +01:00
Paulo Henrique Silva
55d7df3782 Fix python bindings build 2025-01-28 15:23:52 -08:00
Bartosz Taudul
16405715a6 Bump PPQSort to 1.0.4. 2025-01-27 18:59:22 +01:00
Bartosz Taudul
5479a42ef9 Merge pull request #975 from dezhiAmd/csvExportGpuZone
Export gpu zones to csv file
2025-01-23 20:05:58 +01:00
Liao
4662be3aac make it easier to see the diff
Signed-off-by: Liao <dezhliao@amd.com>
2025-01-23 10:18:12 -08:00
Liao
e19a823c37 remove spaces due to autoformatting
Signed-off-by: Liao <dezhliao@amd.com>
2025-01-20 12:14:36 -08:00