Lukas Bergdoll
5002c045e2
Make variable shadowing warning suppression optional
2025-10-03 11:57:18 +02:00
Lukas Bergdoll
abd7c4f317
Suppress variable shadowing warnings
...
This disables the warnings for MSVC, GCC and Clang in the ZoneScopedXX
macros.
The warnings produced are both a false positive since they didn't find a
bug *and* they don't happen in user written code, so the user couldn't
even do much about it. The previous workaround of using ZoneNamedXXX is
a poor solution since the Zone(Text|Name|etc.) macros all rely on the
`___tracy_scoped_zone` name.
2025-09-29 18:58:22 +02:00
Bartosz Taudul
f998e3e2a9
Merge pull request #1151 from dpelle/make-ZoneNameF-less-error-prone
...
Make ZoneNameF() less error-prone by checking format against args
2025-09-11 12:30:03 +02:00
Bartosz Taudul
5cf408fc10
Cosmetics.
2025-09-11 00:57:22 +02:00
Dominique Pelle
5f36f3d2ec
Make ZoneNameF() less error-prone by checking format against args
...
`ZoneNameF(fmt, ...)` was error-prone: if the format is inconsistent
with arguments, the code compiled fine without errors or warnings.
Use gcc/clang `__attribute__((format(printf, fmt_idx, arg_idx)))`
function attribute, so that `ZoneNameF(fmt, ...)` can now check
at compilation time the consistency between the format and the
arguments.
See https://gcc.gnu.org/onlinedocs/gcc-3.1/gcc/Function-Attributes.html
2025-09-10 20:26:57 +02:00
Anders Wang Kristensen
355a11f47f
Missing initialization of dequeueStatus
2025-09-10 14:43:28 +02:00
Anders Wang Kristensen
f21f8d6ad2
Fix crash due to freeing elements of m_serialDequeue twice.
...
In Profiler::DequeueSerial if AppendData fails part way through m_serialDequeue then the elements could be freed again in Profiler::ClearSerial, which leads to memory corruption in rpmalloc.
2025-09-10 12:56:47 +02:00
Minjie
c545b34f68
Add connection check when TRACY_ON_DEMAND for EnterFiber and LeaveFiber
2025-08-15 22:36:45 +08:00
PewPewCrit
11c9e3fa35
libbacktrace: recognize new Mach-O DWARF sections
...
Reference: libbacktrace@d48f84034ce3e53e501d10593710d025cb1121db
2025-08-04 14:17:18 +03:00
Marcos Slomp
5864350912
removed duplicated extern "C"
2025-08-02 06:48:00 -07:00
Marcos Slomp
9b84b527a6
adding manual control over sampling profiling
2025-08-01 15:24:30 -07:00
Marcos Slomp
b4b5f46d7b
speeding up ExternalName queries
2025-08-01 12:53:56 -07:00
Bartosz Taudul
3bff910a27
Merge pull request #1121 from siliceum/feature/faster-module-caching-windows
...
Add faster module caching fallback by using GetModuleHandleExA
2025-08-01 20:44:19 +02:00
Gabriel Bon
1f6531f46d
Add faster module caching fallback by using GetModuleHandleExA
2025-07-31 15:06:15 +02:00
Clément Grégoire
8c06fec09e
Refactor libbacktrace usage with TRACY_USE_LIBBACKTRACE
2025-07-31 10:41:37 +02:00
Bartosz Taudul
c03fdaec1e
Merge pull request #1097 from erieaton-amd/rocprofv3-2
...
Collect dispatches and counter values with Rocprofv3
2025-07-22 13:33:15 +02:00
Eric Eaton
1639598d62
Update documentation
...
This provides some instructions and tips for the manual. Also:
* Made the calibration feature a CMake option
* Cleaned up some minor code issues
* Fixed an issue with the calibration
* Incremented patch number
2025-07-21 15:30:42 -07:00
nyorain
02295cbfeb
Allow to access wrapped Lockable object
2025-07-20 18:26:22 +02:00
Patrik Kraif
a642b84add
Add missing TracyWinFamily header include
2025-07-18 10:10:02 +02:00
Patrik Kraif
dacd0fc63f
Fix header guard to match the new file name
2025-07-16 12:55:22 +02:00
Patrik Kraif
4a3713cca8
Add support for GDK
2025-07-16 12:51:16 +02:00
Bartosz Taudul
8fa40e87d1
Merge pull request #1016 from 6yry6e/systrace-hang-fix
...
Fix: Hang on shutdown with enabled system tracing
2025-07-12 11:49:05 +02:00
Eric Eaton
0c77bfcbed
Use tracy data structures
2025-07-11 17:18:17 -07:00
Eric Eaton
114f6ef096
Supply the correct thread ID for annotations
2025-07-11 17:18:17 -07:00
Eric Eaton
3324b46dca
Make rocprof optional
2025-07-11 17:18:16 -07:00
Eric Eaton
d4a35c5ab1
Change rocprof context name
2025-07-11 17:18:07 -07:00
Eric Eaton
3fce5c1280
Use a map to record counter values
...
This removes the limitation of 10 counters.
2025-07-11 17:17:05 -07:00
Eric Eaton
6a5e4d8a60
Use assert intead of a condition
2025-07-11 17:17:05 -07:00
Eric Eaton
1494fe5671
Apply code style
2025-07-11 17:17:05 -07:00
Eric Eaton
7fc5b6c977
Increase protocol version
2025-07-11 17:17:03 -07:00
Eric Eaton
d1f9df8058
Get counter names from environment variable
...
Allows user to customize the collected information with environment
variable TRACY_ROCPROF_COUNTERS.
2025-07-11 17:16:00 -07:00
Eric Eaton
e9e0404930
Add support for multiple counters
2025-07-11 17:16:00 -07:00
Eric Eaton
a754db16f8
Show counter name in GUI
2025-07-11 17:16:00 -07:00
Eric Eaton
2e49bdf4cb
Add counter value collection
2025-07-11 17:16:00 -07:00
Eric Eaton
86de39704f
Add calibration thread
...
Synchronizes the GPU timeline periodically. This is needed to counter
network time updates that cause drift in the GPU and CPU timeline.
Signed-off-by: Eric Eaton <erieaton@amd.com >
2025-07-11 17:16:00 -07:00
Eric Eaton
495321fc10
Record dispatch enqueue times
2025-07-11 17:16:00 -07:00
Eric Eaton
98047ffbe2
Delay initialization
...
Delay initialization until tracy is started. Removed some debug prints.
2025-07-11 17:16:00 -07:00
Eric Eaton
1517756d54
Add buffer copy tracing
2025-07-11 17:16:00 -07:00
Eric Eaton
00648836a2
Add rocprof dispatch tracing
2025-07-11 17:16:00 -07:00
Bartosz Taudul
880c600506
Remove queue delay calibration.
...
This value is not used for anything, it was just a number displayed in
the UI without much meaning to anyone.
Operations on the queue during early init may not work correctly, stopping
some programs from running past the calibration loop.
2025-07-11 23:23:31 +02:00
Bartosz Taudul
7388a47658
Fix LockMark source location name.
2025-06-28 00:04:07 +02:00
Bartosz Taudul
7f6efe3bd4
Merge pull request #1065 from maxime-modulopi/vulkan-collect-host
...
Add support for host query reset when collecting Vulkan traces
2025-06-26 14:51:51 +02:00
Bartosz Taudul
c556831ddc
Release 0.12.2.
2025-06-25 23:55:40 +02:00
Oleg Bogdanov
4f9107fac5
Make TracyLua buildable with TRACY_NO_CALLSTACK
...
See discussion https://github.com/wolfpld/tracy/issues/1080
2025-06-20 12:45:54 -07:00
Martijn Courteaux
8b1576170d
Disable Windows __try1 __except1 mechanic to be cross compilable from Linux.
2025-06-19 17:11:28 +02:00
mncat77
1d6fda26ea
Fix MinGW build
2025-06-19 17:11:28 +02:00
Maxime Duriez
6abd2505bd
Added support for host query reset when collecting Vulkan traces
2025-06-07 21:06:39 +02:00
Bartosz Taudul
650c98ece7
Relase 0.12.1.
2025-06-07 16:59:25 +02:00
Bartosz Taudul
87924acdd9
Release 0.12.0.
2025-05-30 20:27:13 +02:00
Fan Chen
0eb3a82673
Move CUDA after Custom as existing traces may use the Custom identifier
2025-05-23 15:22:36 -04:00