Clément Grégoire
5ef64841cc
Remove MessageMetadata type and replace by uint8_t everywhere
2025-12-28 15:04:18 +01:00
Clément Grégoire
4cceab5ad8
Remove Profiler::Messsage since it's not part of the public API
...
This also replaces `___tracy_emit_message*` by `___tracy_emit_logString`.
The `TracyCMessage*` defines no long include the `;`, which may be a breaking change even though we did already require semi-colon since 0.9.0. See #493 and #592
2025-12-28 15:04:05 +01:00
Clément Grégoire
f17bd3f444
TracyDebug now uses TracyInternalMessage by default unless TRACY_VERBOSE or TRACY_NO_INTERNAL_MESSAGE is defined
2025-12-28 15:00:59 +01:00
Clément Grégoire
f981330f66
Replace all messages text addr by TaggedUserlandAddress and send metadata over the network
...
There are two changes to the protocol:
- `QueueMessageLiteral*` were changed and what used to be addresses are now addresses+metadata
- Other messages now send `QueueMessage*Metadata` with added metadata.
This will later be used to store and transmit message sources, level, etc.
2025-12-28 14:44:40 +01:00
Ondřej Míchal
d79b6d040e
public/client: Correctly initialize atomic thread reference
...
Atomic variables need to be initialize with direct-initialization
instead of copy-initialization lest the compilation fails complaining
about missing constructor for the atomic type.
2025-12-08 15:06:26 +02:00
Bartosz Taudul
886a0abec9
Merge pull request #1215 from slomp/slomp/worker-thread-race
...
Fixed race condition around `s_sysTraceThread`
2025-12-03 22:43:42 +01:00
Marcos Slomp
7fa30d08b5
clarification
2025-12-03 12:41:44 -08:00
Marcos Slomp
874d65b036
code formatting
2025-12-03 10:15:19 -08:00
Marcos Slomp
c44beaac28
fixed race condition around s_sysTraceThread
2025-12-02 16:19:20 -08:00
Trevor L. McDonell
d1b0406801
Add option to ignore memory free faults
...
This replaces the IsApple flag, which was previously only used for this purpose.
2025-12-02 16:16:50 +01:00
Bartosz Taudul
89f68babd2
Android user name may be longer than _POSIX_LOGIN_NAME_MAX.
2025-11-13 12:28:57 +01:00
Matt McGill
491445343f
Defer GPU context events in serial C API
...
Without this, the profiler crashes due to an assert
violation when connecting to a client built with
TRACY_ON_DEMAND that uses these C API calls.
2025-10-24 18:52:36 -04:00
Bartosz Taudul
30267de474
Make sure symbols thread has time to enter into disconnected condition.
2025-10-21 20:42:44 +02:00
Bartosz Taudul
5cf408fc10
Cosmetics.
2025-09-11 00:57:22 +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
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
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
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
a754db16f8
Show counter name in GUI
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
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
Timur Popov
46a5cc4fa5
Stop filling queues with systrace data on exit
2025-03-29 01:12:28 +02:00
Igor S. Gerasimov
7093eb0b08
Update int for ___tracy_after_try_lock_lockable_ctx
2025-01-02 14:33:09 +01:00
Igor S. Gerasimov
7e128f3bce
Update int for ___tracy_emit_plot_config
2025-01-02 14:32:04 +01:00
Igor S. Gerasimov
6e220fee91
Update int for ___tracy_emit_frame_image
2025-01-02 14:25:06 +01:00
Igor S. Gerasimov
94403bde4b
Update int for ___tracy_before_lock_lockable_ctx
2025-01-02 14:23:06 +01:00
Igor S. Gerasimov
cd8e2a5d8a
Update int for ___tracy_connected
2025-01-02 14:20:37 +01:00
Igor S. Gerasimov
a8f844b970
Use int32_t type for depth in client
2025-01-02 14:19:12 +01:00
Igor S. Gerasimov
78bca3f0e1
Use int32_t for callstack (depth)
2025-01-02 14:04:06 +01:00
Igor S. Gerasimov
4929ac6487
Use int32_t for secure flag
2025-01-02 13:45:47 +01:00
Igor S. Gerasimov
39d382b033
Use int32_t for active flag
2025-01-02 13:42:22 +01:00
Igor S. Gerasimov
8baa50b2f5
Update int for ___tracy_profiler_started
2025-01-02 13:28:39 +01:00
Bartosz Taudul
8b0b2343e1
Merge pull request #957 from foxtran/feature/merge-calls-callstack
...
Simplify API by decreasing a number of entry points
2025-01-02 12:08:39 +01:00
Igor S. Gerasimov
b9c7cd1738
Fix code formatting
2025-01-02 11:49:51 +01:00
Igor S. Gerasimov
d30a2d6854
Simplify ZoneBegin functions
2025-01-02 11:26:56 +01:00
Igor S. Gerasimov
a2fce55aee
Rename has_stacktrace -> has_callstack
2024-12-27 11:43:00 +01:00
Igor S. Gerasimov
96ba28e761
Use constexpr instead of macro in memory manager in C API
2024-12-27 11:29:41 +01:00
Igor S. Gerasimov
39137d809e
Accept zero-depth callstack
2024-12-27 11:29:41 +01:00
Igor S. Gerasimov
5051db201e
Show error message if TRACY_MANUAL_LIFETIME is enabled without enabled TRACY_DELAYED_INIT
2024-12-27 08:51:50 +01:00
Bartosz Taudul
a916050724
Add memory discard to C API.
2024-10-21 18:31:49 +02:00
Bartosz Taudul
f4df9013bb
Add memory discard message.
...
This can be used to erase all allocations made within the named memory
pool. The usual use case would be for arena allocators, which allocate
by advancing a pointer and never have to free the memory. There is no
tracking of individual allocations and everything is freed frequently,
by reseting the pointer, for example once per frame.
Since this is used in special-purpose allocators, there is no support
for discarding the memory of the default memory pool.
2024-10-21 18:22:22 +02:00
Joshua Kriegshauser
66edfaec42
More PR feedback
2024-10-02 12:50:12 -07:00
Joshua Kriegshauser
e1554a13e0
PR feedback
2024-10-02 11:21:34 -07:00
Joshua Kriegshauser
9dfb1e98b9
Line and braces tweaks
2024-10-02 11:21:34 -07:00
Joshua Kriegshauser
97a6a3dde7
always override unhandled exception filter
2024-10-02 11:21:34 -07:00
Joshua Kriegshauser
cc860fe56a
Reduce template code
2024-10-02 11:21:34 -07:00