Bartosz Taudul
b7c54253ff
Include TracyCrashHandler in a list of frames to cut on crash on Linux.
2026-01-29 22:44:23 +01:00
Bartosz Taudul
eb18dafb22
Check for a substring match in CutCallstack.
2026-01-29 22:44:13 +01:00
Bartosz Taudul
3ddb96b9af
Change CutCallstack/SendCallstack interface to accept an array.
2026-01-29 22:41:21 +01:00
Bartosz Taudul
0c6b551afa
Make TracyCrashHandler visible externally.
2026-01-29 22:39:24 +01:00
Bartosz Taudul
5a1ff2496c
Rename CrashHandler to TracyCrashHandler.
2026-01-29 22:19:50 +01:00
Bartosz Taudul
9c096a31f0
Fix copy paste error.
2026-01-24 19:57:33 +01:00
Bartosz Taudul
73694c7a24
Cleanup enums.
2026-01-24 01:50:11 +01:00
Bartosz Taudul
26b1782b89
Remove TracyDebug() logging.
...
TracyDebug() is in the profiler init path, and logging the message causes
the profiler to be initialized (the second time), which deadlocks in
GetProfilerData().
2026-01-24 00:49:25 +01:00
Marcos Slomp
839b38d2ec
removing implicit/default argument value
2026-01-15 11:29:49 -08:00
Marcos Slomp
44696c47c6
formatting
2026-01-15 11:27:49 -08:00
Marcos Slomp
dacb3dbae6
support for toggling EnableFlags after the singleton kernel session has started
2026-01-15 11:20:06 -08:00
Bartosz Taudul
9016911a04
Fix clash with winapi define crap.
2025-12-30 14:49:23 +01:00
Bartosz Taudul
94c1614416
Store full user name in trace info.
2025-12-30 14:19:40 +01:00
Bartosz Taudul
da85325686
Move user name retrieval to a common API.
2025-12-30 13:41:19 +01:00
Marcos Slomp
12fa5aeb5e
fix for TRACY_FIBERS
2025-12-29 11:23:08 -08:00
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
13261b9bdc
ETWErrorAction now uses message source and severity
2025-12-28 14:50:41 +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
Marcos Slomp
2d3fa2141e
removing parentheses from define
2025-12-22 12:22:26 -08:00
Marcos Slomp
f55bd056a9
switch to using ARM64's CNTVCT_EL0 instruction instead of std::chrono::high_resolution_clock on macOS
2025-12-22 11:43:51 -08:00
Bartosz Taudul
8b2019830a
Merge pull request #1234 from siliceum/fix/etw-vsync
...
VSyncDPC events do not have the Keyword::DxgKrnlPresent bit set, so using it as MatchAllKeyword excluded it
2025-12-17 18:07:42 +01:00
Clément Grégoire
d59e6cdfad
VSyncDPC events do not have the Keyword::DxgKrnlPresent bit set, so using it as MatchAllKeyword excluded it
2025-12-17 17:45:52 +01:00
Marcos Slomp
4a6c75d8f8
ensure all stackwalk requests are satisfied
2025-12-17 08:03:34 -08:00
Marcos Slomp
db745611c4
more explicit error check
2025-12-16 13:38:42 -08:00
Bartosz Taudul
7976e6ab0b
Merge pull request #1213 from slomp/slomp/etw-refactor
...
Refactoring ETW kernel session
2025-12-16 18:59:56 +01:00
Marcos Slomp
2403438bd9
error flow control for VSync tracing
2025-12-16 09:11:11 -08:00
Marcos Slomp
bb3b5b6a4f
reuse StopSession
2025-12-16 09:10:19 -08:00
Marcos Slomp
a0092a793a
abandoning the private kernel session for now
2025-12-15 16:21:42 -08:00
Marcos Slomp
c0ac36918a
adding interfaces for singleton kernel logger session, and regular user sessions
2025-12-15 16:20:57 -08:00
Marcos Slomp
22d2b7407f
emit ETW errors in english
2025-12-15 16:19:45 -08:00
Marcos Slomp
cc7790af04
add check to determine if provider has already been enabled by other sessions
2025-12-10 13:50:28 -08:00
Marcos Slomp
aaa695611b
code formatting
2025-12-10 13:42:43 -08:00
Marcos Slomp
1be738ba10
expanding Tracy macros
2025-12-08 11:30:03 -08:00
Marcos Slomp
86a6b9b671
add admin check (and don't log it if it fails).
2025-12-08 08:40:26 -08: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
Marcos Slomp
04c32562a0
adressing review comments
2025-12-07 15:51:07 -08:00
Marcos Slomp
d363ddde2a
missing events
2025-12-05 12:46:27 -08:00
Marcos Slomp
7b5de9e2b9
relocating ETW events (structs), and adding checks and comments
2025-12-05 12:03:57 -08:00
Marcos Slomp
16724b39c5
handle ProcessTrace pending (draining/flushing) condition
2025-12-05 09:49:11 -08:00
Marcos Slomp
9bb2be27cf
details
2025-12-03 14:55:08 -08:00
Marcos Slomp
f0b8658346
splitting event consumer
2025-12-03 14:55:08 -08:00
Marcos Slomp
f6f9ec49d8
comments about the choice of default arguments
2025-12-03 14:55:08 -08:00
Marcos Slomp
bca011966d
code formatting
2025-12-03 14:55:08 -08:00
Marcos Slomp
e5ca27966e
ASCII
2025-12-03 14:55:08 -08:00
Marcos Slomp
d1f63dbca8
notify that events have been lost
2025-12-03 14:55:08 -08:00
Marcos Slomp
95658d532e
isolating error actions
2025-12-03 14:55:08 -08:00
Marcos Slomp
f6965c62a9
reminder
2025-12-03 14:55:07 -08:00
Marcos Slomp
0270177a85
typo
2025-12-03 14:55:07 -08:00