Commit Graph

8503 Commits

Author SHA1 Message Date
Bartosz Taudul
0c6803e5c6
Merge pull request #859 from brakhane/lua-fix
Lua: ensure source location is not longer than 255 characters
2024-08-10 14:49:12 +02:00
Dennis Brakhane
81d7e9d765 only use first 255 characters of source location
When a Lua script was loaded through loadstring, dbg.source is the whole
source code; this not only causes a lot of unnecessary data to be sent,
it can even crash Tracy if the source string is larger than 64 KB.

Therefore, use the short version which is never more than 255 characters.
2024-08-10 14:47:04 +02:00
Bartosz Taudul
a51f0d0657
Merge pull request #858 from PatrickMoffett/master
Remove constexpr from GetSamplingInterval
2024-08-09 11:51:52 +02:00
Patrick Moffett
b2ee226fd7 remove constexpr from GetSamplingInterval 2024-08-08 22:22:52 -07:00
Bartosz Taudul
ee65a45bef
Vararg functions can't be inlined. 2024-08-08 19:55:32 +02:00
Bartosz Taudul
b18796c1c0
Add text formatting function to test. 2024-08-08 19:52:47 +02:00
Bartosz Taudul
30cbc77e23
Update CPM to 0.40.2. 2024-08-08 19:42:15 +02:00
Bartosz Taudul
60042d1944
Print context switch event data. 2024-08-06 20:37:51 +02:00
Bartosz Taudul
f7730659f8
Update manual. 2024-08-04 00:15:46 +02:00
Bartosz Taudul
835ba9fddf
Pass fiber group hint to NewThread(). 2024-08-04 00:10:45 +02:00
Bartosz Taudul
37bfde5106
Add fiber enter API with group hint. 2024-08-04 00:08:18 +02:00
Bartosz Taudul
46852a7066
Update NEWS. 2024-08-03 20:40:59 +02:00
Bartosz Taudul
ecb05f787e
Document thread group hints. 2024-08-03 20:33:43 +02:00
Bartosz Taudul
0b74b14f88
Save thread group hint. 2024-08-03 20:23:26 +02:00
Bartosz Taudul
a1064a3d26
Observe thread grouping hint when a new thread appears. 2024-08-03 20:18:40 +02:00
Bartosz Taudul
1390c8c9e3
Take group hint into account when sorting threads. 2024-08-03 20:11:55 +02:00
Bartosz Taudul
dbf6274bff
Remove threads that had group hint changed from thread order list. 2024-08-03 20:11:35 +02:00
Bartosz Taudul
bdacfe7c37
Add a list of pending thread hints. 2024-08-03 20:10:36 +02:00
Bartosz Taudul
28a9750f8a
Process thread group hints. 2024-08-03 20:10:36 +02:00
Bartosz Taudul
9a9f1c2ab9
Set plot thread group hint to -1 in the test application. 2024-08-03 19:41:44 +02:00
Bartosz Taudul
8cea63cbca
Send thread group hint message. 2024-08-03 19:40:49 +02:00
Bartosz Taudul
beb42a3d29
Change group hint from unsigned to signed. 2024-08-03 19:40:11 +02:00
Bartosz Taudul
70a468e160
Protocol version 66 was used by 0.11.0. 2024-08-03 19:36:56 +02:00
Bartosz Taudul
5e224101c4
Allow direct access to ThreadNameData. 2024-08-03 19:33:19 +02:00
Bartosz Taudul
3658c0c90f
Add thread group hint to ThreadNameData. 2024-08-03 19:15:01 +02:00
Bartosz Taudul
fb18a81d79
Add support for reading TRACY_SAMPLING_HZ from an env variable. 2024-07-30 18:42:05 +02:00
Bartosz Taudul
ffb98a9724
Merge pull request #848 from tksuoran/msys2_clang64_link_fix
Fix for #847
2024-07-26 12:36:10 +02:00
Timo Suoranta
0aa025c0d9 Fix for #847 2024-07-26 11:24:20 +03:00
Bartosz Taudul
684cee59ab
Merge pull request #841 from aluaces/pr-find-libunwind
Find libunwind if requested so we can link to it.
2024-07-23 13:13:18 +02:00
Alberto Luaces
d9a182b450 Find libunwind if requested so we can link to it. 2024-07-23 12:15:36 +02:00
Bartosz Taudul
751545ebbd
Merge pull request #839 from Arpafaucon/cmake-add-verbose
Expose `TRACY_VERBOSE` in cmake for debug
2024-07-21 17:39:02 +02:00
Grégoire Roussel
c9063fbdbe Expose TRACY_VERBOSE in cmake for debug 2024-07-21 17:37:57 +02:00
Grégoire Roussel
20d67a1bc8
tentative clang-format 2024-07-19 18:17:22 +02:00
Bartosz Taudul
f81e089260
Merge pull request #836 from Techatrix/fix-windows-clang
fix CpuId when compiling with clang on windows
2024-07-19 11:03:05 +02:00
Techatrix
90adf00dc1 fix CpuId when compiling with clang on windows 2024-07-19 01:47:46 +02:00
Bartosz Taudul
93b4ea2ace
Merge pull request #826 from Arpafaucon/merge-import-utilities
Suggestion: Merge import-xxx folders
2024-07-18 21:59:46 +02:00
Bartosz Taudul
5098fc2a70
No mold on emscripten. 2024-07-17 22:54:18 +02:00
Bartosz Taudul
68357bd9fb
Merge pull request #834 from Aldarrion/fix-achievement-init-order-crash
Fix achievement mgr crashing on uninitialized data
2024-07-17 22:14:47 +02:00
Pavel Šmejkal
893754638c Fix achievement mgr crashing on uninitialized data
Both the achievement manager and the achievement data were globals in
separate compilation units. Order of initialization is not defined in
that case which sometimes caused the mgr to load uninitialized data and
crash when an achievement should have been achieved but was not found.
2024-07-17 21:57:16 +02:00
Bartosz Taudul
5634c1520e
Merge pull request #833 from Arpafaucon/trigger-failures-in-test
[test] Trigger failures via USR1/USR2
2024-07-17 19:57:31 +02:00
Grégoire Roussel
7a74d38198 (review) use signal.h 2024-07-17 18:19:33 +02:00
Bartosz Taudul
a636950eb5
Fix wrong printf. 2024-07-17 17:55:19 +02:00
Grégoire Roussel
82fd4075f9 [test] Trigger failures via USR1/USR2
USR1: abort the program
USR2: send buggy free event, to trigger an instrumentation failure
2024-07-17 17:30:52 +02:00
Bartosz Taudul
c9e57901ed
Merge pull request #832 from Chekov2k/manual
Add missing make line to python instructions
2024-07-17 12:59:29 +02:00
Arnim Balzer
34d40a5ecf
Add missing make line to python instructions 2024-07-17 11:55:14 +01:00
Bartosz Taudul
22a0898a54
Merge pull request #831 from Chekov2k/llvm
Set CXX standard for older compilers
2024-07-17 12:27:17 +02:00
Arnim Balzer
a8704b4a07
Set CXX standard for older compilers 2024-07-17 11:06:20 +01:00
Bartosz Taudul
c0f93b1c9c
Merge pull request #830 from Chekov2k/python_libs
Link against Python libraries for compatibility with pybind11 >= v2.13
2024-07-17 10:55:49 +02:00
Arnim Balzer
3274fd4c5e
Link against Python libraries for compatibility with pybind11 >= v2.13 2024-07-17 07:18:07 +01:00
Bartosz Taudul
075395620a
Release 0.11.0. 2024-07-16 18:38:15 +02:00