Bartosz Taudul
6455fcfa91
Make source code query handling easier to follow.
...
Also, limit debuginfod source file upload to not exceed target frame size.
2022-05-02 01:12:34 +02:00
Bartosz Taudul
b6f155bb6a
Move debuginfod include to TracyCallstack.hpp.
2022-05-02 01:12:34 +02:00
Bartosz Taudul
6e6f19d8f7
Query debuginfod for source code.
2022-05-02 01:12:34 +02:00
Michael Puskas
a5ea07f107
Fix build options, add TRACY_TIMER_FALLBACK option.
...
Renamed TRACY_NO_SYS_TRACE -> TRACY_NO_SYSTEM_TRACING to match the
build flag name. Unlike the meson logic, the CMake logic directly
maps the option name to the build flag that is injected. With the
mismatched name, the flag wasn't being properly applied.
Added TRACY_TIMER_FALLBACK option to expose the same-named flag.
Moved signal.h include to get sigaction definition that was missing when
TRACY_NO_CALLSTACK was defined.
2022-05-01 13:52:27 -07:00
Bartosz Taudul
aa2bbfe5f9
Transfer executable image name in source file queries.
2022-05-01 14:30:18 +02:00
Bartosz Taudul
532c5a240c
Add no-op callstack cleanup procedure.
2022-04-30 19:18:52 +02:00
Bartosz Taudul
254e87cbac
Fix preprocessor syntax.
2022-04-30 19:00:54 +02:00
Blake Taylor
8c5120ee5a
Add flag to disable crash handler
2022-04-27 07:11:53 -07:00
Dave Rigby
2073ffb684
program_invocation_short_name is Linux-specific
...
'program_invocation_short_name' is Linux-specific; other OSs such as
macOS do not support it.
Fixes build break on macOS 12.2 with _GNU_SOURCE defined.
2022-02-28 16:09:06 +00:00
Bartosz Taudul
d318f75123
Merge pull request #325 from BrychDaneel/automatic_timer_fallback
...
Automatic timer fallback
2022-02-21 13:47:50 +01:00
Daniil Brychikov
a9ba1ce688
Codestyle fixes
2022-02-19 11:44:15 +03:00
Daniil Brychikov
73f6c66cde
Automatic timer fallback
2022-02-16 15:18:45 +03:00
Bartosz Taudul
793e6b0e29
Add rpmalloc thread state accessor.
2022-02-14 17:53:27 +01:00
Bartosz Taudul
20680fa6a3
Keep track of rpmalloc thread shutdown state.
2022-02-14 17:52:33 +01:00
Balazs Kovacsics
aa44cedcd2
Fix indentation
2022-02-11 17:14:16 +01:00
Balazs Kovacsics
a0a56eaf9e
Move TRACY_UWP define to own header
2022-02-10 20:26:45 +01:00
Balazs Kovacsics
7169f5f30a
Fix compiling TracyClient.cpp on UWP with defined TRACY_ENABLE
2022-02-09 22:14:36 +01:00
Bartosz Taudul
4731bb9ec1
Cast GetProcAddress() ptr to const void*.
2022-01-05 20:03:20 +01:00
Bartosz Taudul
d88bf2c7a8
Separate message type for context switch callstack samples.
2021-12-21 14:05:07 +01:00
Bartosz Taudul
22284d57e7
Don't identify samples if there will be no context switches.
2021-12-05 01:32:30 +01:00
Nathan Day
bdafd0c7b6
Added IsConnected C API Equivalent
2021-12-04 16:55:41 +00:00
Bartosz Taudul
20f8c8b8a4
Add IdentifySamples flag to the protocol.
...
On Windows there is no way to distinguish callstack data coming from random
sampling and from context switches. Each callstack timestamp has to be matched
against the context switch data in order to decide its origin. This is
obviously non-trivial.
On some other platforms, the origin information may be available right away,
in which case the process of matching against the context switch data, which
possibly includes postponing callstacks for processing in the future, may be
completely omitted.
2021-12-04 14:50:25 +01:00
slembcke
87a727dd7f
Add fibers to TracyC.h
2021-11-26 16:49:39 -06:00
Bartosz Taudul
d41447b0c9
Pass full module path to LoadLibraryEx().
2021-11-25 23:27:20 +01:00
Bartosz Taudul
8428ede59d
Retrieve kernel symbols on Windows.
2021-11-25 23:12:41 +01:00
Bartosz Taudul
4bde9022e1
Properly acknowledge unavailable symbol code.
2021-11-25 22:44:56 +01:00
Bartosz Taudul
e8fb2abb2a
Dispatch kernel code retrieval.
2021-11-25 22:27:35 +01:00
Bartosz Taudul
01db142144
Rpmalloc is initialized here.
2021-11-25 22:23:28 +01:00
Bartosz Taudul
2bd1e5bca7
Merge pull request #283 from expenses/c-gpu-zones
...
Implement a bare-bones C API for graphics profiling
2021-11-24 12:50:20 +01:00
Ashley Ruglys
2db109ab98
Add serial functions
2021-11-24 11:56:43 +01:00
Ashley Ruglys
2995db4b5e
Remove the 'active' argument
2021-11-24 11:45:37 +01:00
Bartosz Taudul
bbbd78883c
Allow crash signal selection by user.
2021-11-18 20:20:10 +01:00
Ashley Ruglys
bf1896f6ba
memset the thread to 0 when writing the GpuZoneEnd as this seems to prevent an assert failure
2021-11-17 18:14:57 +01:00
Ashley Ruglys
cc45865239
Small formatting changes
2021-11-17 11:31:02 +01:00
Ashley Ruglys
91b4058dc4
Implement bare-bones functionality for gpu contexts in the C api
2021-11-17 11:27:52 +01:00
Bartosz Taudul
590a4afb89
Full dequeue is needed to handle symbol queries.
2021-11-14 19:24:05 +01:00
Bartosz Taudul
9055a31156
Decrease number of SPSCQueue items to 8K.
...
This matches the query limit set on the server.
2021-11-14 18:51:11 +01:00
Bartosz Taudul
a203eb5aef
Adapt to SPSCQueue interface.
2021-11-14 18:50:59 +01:00
Bartosz Taudul
987f70a9d4
Signal initialization failure through exit code.
2021-11-11 12:43:59 +01:00
Bartosz Taudul
887826a28a
Remove dead code.
2021-11-03 18:58:53 +01:00
Bartosz Taudul
fceb065329
Fiber name transport.
2021-11-03 18:57:30 +01:00
Bartosz Taudul
229d547e91
Add fiber support on client side.
2021-11-02 00:11:09 +01:00
Bartosz Taudul
1ecdb8aa2a
Report device name on Android.
2021-10-26 18:09:56 +02:00
Bartosz Taudul
bd108220cb
Drain symbols queue if on-demand and not connected.
2021-10-23 01:54:38 +02:00
Bartosz Taudul
3d13ec7018
Pump symbols queue during profiler termination.
2021-10-23 01:47:04 +02:00
Bartosz Taudul
fe9c63b8d2
Signal symbol resolution thread destruction.
2021-10-23 01:46:00 +02:00
Bartosz Taudul
02ce9b7d8b
Extract symbol queue item handling.
2021-10-23 01:35:01 +02:00
Bartosz Taudul
2b9265cc40
Move symbol resolution to a separate thread.
2021-10-22 22:25:09 +02:00
Bartosz Taudul
b4cfb1f2d5
Add SPSC symbol queue.
2021-10-22 22:22:27 +02:00
Bartosz Taudul
60b36df077
Cosmetics.
2021-10-21 01:49:20 +02:00