Gedalia Pasternak
4ebbd15894
add win32 fix.
2024-01-24 11:27:08 -05:00
Gedalia Pasternak
9515a824fd
This change makes the crash handler only install when tracy is connected.
...
This avoids the issue that an end user has their own crash handler which
gets ignored when tracy is on even if there is nothing to capture the crash.
2024-01-24 09:25:57 -05:00
Alex
9921b74e6d
-documentation
...
-erro message
2023-12-11 16:21:19 -08:00
Alex
1e6f877777
-add tracy client address flag
2023-12-11 15:16:41 -08:00
Damien Mabin
37f886dba4
Fix compilation on 32 bit android
2023-11-15 13:28:37 +02:00
Tiago Rodrigues
c373647dae
fix coding style
2023-11-13 13:43:03 -05:00
Tiago Rodrigues
95cb3e1f5a
Add "TRACY_NO_SYS_TRACE" env var to allow force disabling system trace even if the underlying system supports it
2023-11-10 17:02:47 -05:00
Bartosz Taudul
0b21b2f3b4
Merge pull request #649 from michaeldleslie/support_qnx
...
Add basic QNX support
2023-10-30 23:44:58 +01:00
Ivan Molodetskikh
852a1a5f14
Add TracyIsStarted
...
When using TRACY_MANUAL_LIFETIME, calling most Tracy functions
before starting the profiler results in an assertion. Notably, even
TracyIsConnected is affected. There is, however, no function to check if
the profiler had already started. This commit adds such a function.
2023-10-25 14:56:29 +04:00
Michael Leslie
8263bfb829
clean up indentation
2023-10-24 17:44:46 -07:00
Michael Leslie
daba5ae1d8
add qnx support for instrumentation profiling only
2023-10-24 17:40:13 -07:00
Ivan Molodetskikh
41fc293043
Add GpuTimeSync event
...
Allows to resynchronise GPU and CPU timestamps during profiling.
2023-10-22 10:16:41 +04:00
Ivan Molodetskikh
52caae3a51
Defer GPU contexts from the C API
...
Same as how the C++ API does it. Otherwise with on demand mode the
profiler never receives the GPU context info.
2023-10-19 15:33:06 +04:00
Marcos Slomp
ded5b81fa4
eliminate "already defined" warning when passing TRACY_DELAYED_INIT to the compiler on Apple clients
2023-10-09 13:24:54 -07:00
Ястребков Дмитрий Ирикович
de45af63cc
Fix compilation for the case of using TRACY_NO_CALLSTACK
2023-07-31 11:40:12 +07:00
Bartosz Taudul
72cfa3e0d1
Fix copy pasta.
2023-05-04 15:16:46 +02:00
Bartosz Taudul
e2e55a77b5
Add TracySetProgramName() macro to set broadcast contents.
2023-03-30 21:51:00 +02:00
Bartosz Taudul
5e2e5eeefb
Add system power use tracking skeleton.
2023-03-09 22:31:31 +01:00
Bartosz Taudul
7151c6afd9
Add support for configuring plots to C API.
2023-03-08 23:18:36 +01:00
Bartosz Taudul
d47122586c
Fix color channel names in source location message.
2023-01-23 01:23:15 +01:00
Bartosz Taudul
6652999a60
Fix color channels names in zone color message.
2023-01-23 01:18:54 +01:00
Bartosz Taudul
c12505c19d
Fix TRACY_NO_CALLSTACK on Windows.
2022-12-22 21:17:31 +01:00
Bartosz Taudul
ba6416f68c
Merge pull request #497 from pshurgal/detailed_function_names
...
More detailed function names under Clang and GCC
2022-11-30 12:14:46 +01:00
Petr Shurgalin
5ddf62b54e
Customizable source location data
2022-11-30 12:39:50 +02:00
ReplayCoding
311ad7b061
Fix compile error when TRACY_NO_CRASH_HANDLER is enabled
2022-11-27 13:40:45 -08:00
Bartosz Taudul
6c74320b3e
Merge pull request #488 from xxxbxxx/master
...
Added typed plots variants to the C API
2022-11-03 19:28:04 +01:00
Bartosz Taudul
e7ac54fba6
Signals are only set if TRACY_NO_CRASH_HANDLER is not defined.
2022-11-03 17:21:09 +01:00
xxxbxxx
a0cb8eb1d5
Added typed plots variants to the C API
2022-11-03 13:47:04 +01:00
Bartosz Taudul
898140fbda
Don't read payload.extra, if not needed.
2022-10-28 00:34:46 +02:00
Bartosz Taudul
b88ef29792
Make sure source file data is properly tracked.
2022-10-13 19:00:22 +02:00
Bartosz Taudul
a85c0e18d2
Decouple source code retrieval from the profiler thread.
...
This will prevent apparent freezes of the profiler when debuginfod queries are
made.
2022-10-13 00:30:17 +02:00
Bartosz Taudul
6ca1c98655
Handle symbol thread crashes.
...
Should the symbol thread crash, mark that it is gone. This will allow the
profiler to transmit crash call stack, including resolved symbol names and
locations (which will resolve on the main profiler thread).
2022-10-13 00:30:17 +02:00
Bartosz Taudul
9657bdec72
Initialize rpmalloc properly in symbol worker.
2022-10-12 23:51:50 +02:00
Bartosz Taudul
f64fb95a77
Fix preprocesor condition.
2022-10-12 22:05:19 +02:00
Bartosz Taudul
8ca4bc761d
s_symbolTid is only available if crash handler is there.
2022-10-12 19:56:46 +02:00
Bartosz Taudul
383ecb6a12
Remove CodeLocation query and CodeInformation response.
2022-10-11 22:56:23 +02:00
Bartosz Taudul
f509ed1561
Include PID in broadcast message.
2022-10-09 21:54:54 +02:00
Bartosz Taudul
f476e6a0f7
Ditto on windows.
2022-10-08 14:09:58 +02:00
Bartosz Taudul
2c289dbb84
Do not freeze symbol thread.
2022-10-08 14:08:31 +02:00
Bartosz Taudul
4399656e83
__GNUC__ version checks are not valid on clang.
2022-10-08 14:04:54 +02:00
Bartosz Taudul
2595f983e6
Include gcc patchlevel in compiler version report.
2022-10-08 14:04:54 +02:00
Bartosz Taudul
aa017e6a76
Merge pull request #468 from sherief/exception-handler-fix
...
Windows exception handler allows other handlers to be called.
2022-09-15 11:33:39 +02:00
Bartosz Taudul
0fc1c0f927
Make symbol thread exit status more robust.
2022-09-13 21:07:03 +02:00
Sherief Farouk
e8b3d22d76
Windows exception handler allows other handlers to be called.
...
The profiled app might install handlers to track crashes, write minidumps,
etc. - this patch makes sure the app's exception handler is called when
a crash happens while profiling with Tracy.
2022-09-10 17:16:58 -07:00
Pilzschaf
a55fd64a5b
Added gpu zone begin non-alloc and callstack variants to the C API
2022-09-09 21:23:07 +02:00
Pilzschaf
41a1ac203b
Added gpu calibration to the C API
2022-09-09 18:40:17 +02:00
Robert Adam
ece8779362
Fix cpuid symbol redefinition on older GCC versions
...
Since commit 940f32c1a8
building the Tracy
library on Linux using a GCC version < 11 would result in compile errors
due to symbol redefinitions of __get_cpuid_max, __get_cpuid and
__get_cpuid_count.
This is because prior to GCC 11 the cpuid.h header file did not have any
include guards and thus including this header more than once would
produce the abovementioned errors.
To work around this issue, including cpuid.h has been wrapped into a
custom header file that itself uses include guards and thus shields
cpuid.h from being included multiple times.
Fixes #452
2022-08-31 17:59:46 +02:00
Bartosz Taudul
72b7d0db5b
Add user data pointer to parameter callback.
2022-08-26 00:46:01 +02:00
Bartosz Taudul
a237f108c7
Use source contents callback.
2022-08-17 16:04:20 +02:00
Bartosz Taudul
ed7be2faaa
Add source contents callback setup.
2022-08-17 16:04:18 +02:00