Techatrix
90adf00dc1
fix CpuId when compiling with clang on windows
2024-07-19 01:47:46 +02:00
Bartosz Taudul
c383e7ae25
Add EnsureReadable() implementation for Windows.
2024-07-08 18:42:17 +02:00
Bartosz Taudul
1ff73edd20
Add linux kernel symbol code retrieval.
2024-05-26 20:49:43 +02:00
Bartosz Taudul
ac031e64d6
Merge pull request #755 from Chekov2k/color
...
Add support to set color when creating a ScopedZone
2024-03-20 22:19:38 +01:00
Arnim Balzer
8df02e0bff
Add support to set color when creating a ScopedZone
2024-03-18 08:56:06 +00:00
Matej Mulej
14438be242
Cleanup and define nice C macros for lock API.
2024-03-12 20:56:00 +01:00
Matej Mulej
92511c9742
Add non-C++ lock API
2024-03-11 21:01:25 +01:00
Elliot
a26f076a0e
fix build warnings when compiling with clang-cl
2024-03-11 14:44:44 -04:00
David Briscoe
7d8432bbec
Cast thread id to uint32_t
...
Fix MSVC Warning C4244: 'argument': conversion from 'uint64_t' to
'uint32_t', possible loss of data
We only store 32 bit thread ids in ThreadNameData.
Trying to follow existing style instead of static_cast.
2024-02-16 16:29:36 -08:00
Bartosz Taudul
5037742ab0
Fix file access race condition.
2024-02-07 17:14:31 +01:00
Bartosz Taudul
312713b83c
Free allocated memory in case of read failure.
2024-02-07 17:14:04 +01:00
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