Commit Graph

257 Commits

Author SHA1 Message Date
Bartosz Taudul
8e3d250654
Check for errors from GetLogicalProcessorInformationEx(). 2024-08-31 11:36:59 +02:00
Bartosz Taudul
e26c34346b
libbacktrace: support FDPIC (1dd5c40) 2024-08-24 18:15:52 +02:00
Bartosz Taudul
0d0e56dca3
libbacktrace: avoid infinite recursion (febbb9b) 2024-08-24 18:02:05 +02:00
Bartosz Taudul
12c8592325
libbacktrace: fix UBSAN issues (5aa9254) 2024-08-24 18:01:10 +02:00
Bartosz Taudul
ef21f5867e
libbacktrace: correctly gather Mach-O symbol table (3fda5a8) 2024-08-24 17:57:43 +02:00
Bartosz Taudul
ba79deddf6
libbacktrace: it's OK if zstd decompressor sees no backward bits (4ead348) 2024-08-24 17:55:41 +02:00
Bartosz Taudul
8f3b312b7c
Get CPU die information on windows. 2024-08-24 17:47:00 +02:00
Bartosz Taudul
357b557684
Add die to CPU topology data structures.
Drawing dies on the topology chart is a minimal effort for the time being.
An improved version will be added later on.
2024-08-22 20:26:11 +02:00
Bartosz Taudul
e947aeb72d
Read CPU die information on Linux. 2024-08-22 20:26:09 +02:00
Bartosz Taudul
353545a1e9
Add die to topology data. 2024-08-22 00:58:01 +02:00
Bartosz Taudul
fb617fe998
Zero-initialize CPU topology data structure. 2024-08-22 00:54:12 +02:00
Eyck Jentzsch
c8dbace72e adds transient zone with name and color 2024-08-21 22:55:02 +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
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
37bfde5106
Add fiber enter API with group hint. 2024-08-04 00:08:18 +02:00
Bartosz Taudul
0b74b14f88
Save thread group hint. 2024-08-03 20:23:26 +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
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
Techatrix
90adf00dc1 fix CpuId when compiling with clang on windows 2024-07-19 01:47:46 +02:00
Bartosz Taudul
075395620a
Release 0.11.0. 2024-07-16 18:38:15 +02:00
Bartosz Taudul
c383e7ae25
Add EnsureReadable() implementation for Windows. 2024-07-08 18:42:17 +02:00
Ikko Eltociear Ashimine
dfbf0652f2
libbacktrace: update elf.cpp
previouly -> previously
2024-07-01 02:20:56 +09:00
Bartosz Taudul
be40c1e38e
Use strlen instead of pointer walking in the rest of places. 2024-06-16 18:20:16 +02:00
Martijn Courteaux
5d52427f4a Two minor fixes. 2024-06-07 11:36:47 +02:00
Ravbug
5454f7564c Windows for ARM support 2024-06-04 17:21:24 -07:00
Jakub Žádník
da9b9f8e79
Fix wrong parameter in TracyCLContextName
The macro accepted a `context` parameter, but its expansion used `ctx`.

`context` is renamed to `ctx` in `TracyCLContext` for consistency.
2024-05-29 16:22:21 +03:00
Bartosz Taudul
cbea6d7852
Fix 32-bit builds. 2024-05-28 20:51:16 +02:00
Bartosz Taudul
1ff73edd20
Add linux kernel symbol code retrieval. 2024-05-26 20:49:43 +02:00
heyallnorahere
7fa2c6cfd2 add availability flag to vkGetQueryPoolResults (vulkan profiler) 2024-05-25 20:02:57 +00:00
Bartosz Taudul
82aecbdb31
Calculate size of kernel code sections. 2024-05-25 17:18:41 +02:00
Bartosz Taudul
64aad9e751
Load all kernel symbols, mark non-code sections with null name. 2024-05-25 17:18:41 +02:00
Bartosz Taudul
d5064aa8ea
Try to prevent reallocs when building kernel symbols table.
% wc -l /proc/kallsyms
419362 /proc/kallsyms
2024-05-25 17:18:41 +02:00
Bartosz Taudul
c45683506c
Merge pull request #783 from tiago-rodrigues/trodrigues/image_cache_deadlock_fix
Instead of calling dladdr inside the dl_iterate_phdr callback, do it outside to avoid deadlocks with other loader code
2024-05-04 11:33:54 +02:00
trodrigues
4bf9a8cecc Instead of calling dladdr inside the dl_iterate_phdr callback, do it outside to avoid deadlocks with other loader code 2024-05-03 16:05:59 -05:00
Bartosz Taudul
8a411a72b8
Merge pull request #757 from JBurnWork/noCallstackUpdates
Updates to address compilation with TRACY_NO_CALLSTACK
2024-03-23 01:26:42 +01:00
Jeff Burnett
18352366f7 Still use named mem pool if no callstacks
Forward MemAllocCallstackNamed() and MemFreeCallstackNamed() to
MemAllocNamed() and MemFreeNamed if callstack capture is off.
2024-03-22 09:50:05 -05:00
Jeff Burnett
278330af5b Fix build warnings for TRACY_NO_CALLSTACK
Fix build warnings about undefined TRACY_HAS_CALLSTACK and an unused
argument for Callstack() when TRACY_NO_CALLSTACK is defined.
2024-03-22 09:50:05 -05:00
Bartosz Taudul
aac38a7deb
Update CI.
Co-authored-by: Tom Atkinson <tja.atkinson@gmail.com>
2024-03-22 13:49:08 +01: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
c5a68c2d8e
Remove default values that are not supported in C 2024-03-20 20:01:18 +00:00
Arnim Balzer
8df02e0bff
Add support to set color when creating a ScopedZone 2024-03-18 08:56:06 +00:00
Bartosz Taudul
83305115c2
Fix variable name. 2024-03-17 11:34:25 +01:00
Bartosz Taudul
2df972d586
libbacktrace: don't assume compressed section is aligned (7ead8c1) 2024-03-13 00:29:01 +01:00
Bartosz Taudul
49478ec3b3
libbacktrace: skip all LZMA block header padding bytes (28824f2) 2024-03-13 00:24:13 +01:00
Bartosz Taudul
1f90cd473b
libbacktrace: use real .opd for debuginfo on ppc64 v1 ABI (592e9c8) 2024-03-13 00:23:08 +01:00
Bartosz Taudul
a9feb75bdf
libbacktrace: read symbol table of debuginfo file (36cfdc1) 2024-03-13 00:20:14 +01:00