Commit Graph

9317 Commits

Author SHA1 Message Date
Dery Almas
458d9ee89e Fix shadow error suppression on GCC
It looks like the actual macro defined by GCC is `__GNUC__`.

From my testing, `__GNU__` does not seem to be defined neither on my
musl machine nor a Fedora Linux VM. I have no idea if it's a typo or set
by specific libraries, but testing for `__GNUC__` actually suppresses
shadowing errors on my end.
2025-11-15 20:07:11 +01:00
Bartosz Taudul
f79033efd0 Bump curl to 8.17.0. 2025-11-14 17:07:32 +01:00
Bartosz Taudul
a257ccc3d0 Bump usearch to 2.21.3. 2025-11-14 17:05:56 +01:00
Bartosz Taudul
a1ab2fe91e Bump ppqsort to 1.0.6. 2025-11-14 17:00:29 +01:00
Bartosz Taudul
879ddf881c Bump imgui to 1.92.4-docking. 2025-11-14 16:59:14 +01:00
Bartosz Taudul
226fa7eee5 Bump freetype to 2.14.1. 2025-11-14 16:53:41 +01:00
Bartosz Taudul
75e3073b2a Bump capstone to 6.0.0-Alpha5. 2025-11-14 16:51:58 +01:00
Bartosz Taudul
5f4cccaa00 Use proper API to read /proc/mounts. 2025-11-13 19:40:28 +01:00
Bartosz Taudul
d70c7fb4c3 Merge pull request #1197 from nagisa/fix-debuginfod-signature
fix: GetDebugInfoDescriptor signature
2025-11-13 18:31:01 +01:00
Simonas Kazlauskas
10b5f0d878 fix: GetDebugInfoDescriptor signature 2025-11-13 19:19:52 +02:00
Bartosz Taudul
89f68babd2 Android user name may be longer than _POSIX_LOGIN_NAME_MAX. 2025-11-13 12:28:57 +01:00
Bartosz Taudul
0a64c7217f Merge pull request #1194 from ZeWaka/zewaka/fix-cpuid-parsing
fix CPUID parsing in TraceInfo
2025-11-13 12:24:52 +01:00
ZeWaka
e38ab2260d fix CPUID parsing in TraceInfo
the extended model was 4 bytes too low, as well as the extended family

the extended family was also not properly masked and the reserved space bled into it

fixes #1193
2025-11-13 01:15:45 -08:00
Bartosz Taudul
e6b9ea4609 Release 0.13.0. v0.13.0 2025-11-11 16:31:54 +01:00
Bartosz Taudul
0cc8e29eb1 Fix copy pasta. 2025-11-06 12:29:25 +01:00
Bartosz Taudul
9a27779d56 TRACY_CALLSTACK is not boolean. 2025-11-03 16:31:16 +01:00
Bartosz Taudul
d413e2bb51 Merge pull request #1186 from KovalevDima/denerate-pc-for-tracy
Generate pkgconf file for tracy downstream users
2025-11-02 18:43:00 +01:00
KovalevDima
da5547691a Generate pkgconf file for tracy 2025-11-02 20:08:03 +03:00
Bartosz Taudul
d7e1923a68 Fix nullptr deref. 2025-10-27 22:03:58 +01:00
Bartosz Taudul
b762dc2a82 Retrieve tracefs mount path. 2025-10-25 21:06:37 +02:00
Bartosz Taudul
3eda01d55f Merge pull request #1181 from mmcgill/1150-defer-gpu-ctx-events-in-c-serial-api
Defer GPU context events in serial C API
2025-10-25 16:42:59 +02:00
Matt McGill
491445343f Defer GPU context events in serial C API
Without this, the profiler crashes due to an assert
violation when connecting to a client built with
TRACY_ON_DEMAND that uses these C API calls.
2025-10-24 18:52:36 -04:00
Bartosz Taudul
6e3acecf54 Proper rounding for window size with fractional scaling.
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-10-24 22:09:38 +02:00
Bartosz Taudul
7b8d868bbd Merge pull request #1120 from siliceum/refactor/unify-module-caches
Unify module caches
2025-10-24 15:44:50 +02:00
Clément Grégoire
8ccc76c66b Use CopyStringFast in FormatImageName 2025-10-24 13:10:23 +02:00
Clément Grégoire
fe516e3596 IsKernelAddress helper 2025-10-24 13:10:23 +02:00
Clément Grégoire
2bdefc2aa3 Move drivers and modules caching to their own functions 2025-10-24 13:10:23 +02:00
Clément Grégoire
903cde50d9 Replace windows caches with ImageCache
- Introduce both s_imageCache and s_krnlCache on all platforms, even if unused (will be reused later to unify platforms handling)
- This means that what userland images that used to be unsorted are now sorted
2025-10-24 13:10:23 +02:00
Clément Grégoire
e1e9fb680d Rename TRACY_USE_IMAGE_CACHE to TRACY_HAS_DL_ITERATE_PHDR_TO_REFRESH_IMAGE_CACHE
Windows is already using a cache, and the only platforms that won't have one for now are those without dl_iterate_phdr.
2025-10-24 13:10:23 +02:00
Clément Grégoire
3b5b32d307 Replace hardcoded string duplication by CopyStringFast
This can be CopyStringFast since we allocated the cache on the same thread.
2025-10-24 13:10:22 +02:00
Clément Grégoire
32f94a05cb Support adding new entries and keeping the image cache sorted
Image cache will remain potentially unsorted until first access or `Sort` is called explicitely.
2025-10-24 12:54:35 +02:00
Clément Grégoire
0b814a2532 Split ImageCache to seperate platform specific so that it can be used on other platforms 2025-10-24 12:50:27 +02:00
Clément Grégoire
aa68c31780 Add path to ImageEntry in prevision of replacing KernelDriver use + add DestroyImageEntry for ImageEntry cleanup 2025-10-24 12:50:26 +02:00
Bartosz Taudul
32cc0e5121 Take scale into account when creating window. 2025-10-23 19:30:26 +02:00
Bartosz Taudul
7428defab6 Don't attach wayland surface before acking configure. 2025-10-21 22:55:19 +02:00
Bartosz Taudul
30267de474 Make sure symbols thread has time to enter into disconnected condition. 2025-10-21 20:42:44 +02:00
Bartosz Taudul
22dc5b1ca7 Merge pull request #1176 from redthing1/pr/fix/macos-dock-icon
fix window icon/dock integration with objc on macos
2025-10-17 11:30:32 +02:00
redthing1
2625468615 remove (void) unused markers 2025-10-16 20:22:17 -07:00
redthing1
9580ad46c3 fix window icon/dock integration with objc on macos 2025-10-16 14:00:18 -07:00
Clément Grégoire
385f72f9dc Rename ImageCache::Contains to ContainsImage
The name was a bit misleading as it could be mistaken to mean "The cache contains the address" and not as "has an image with this start address". ie: that it could be mistaken to do GetImageForAddress( startAddress ) != nullptr.
2025-10-11 14:13:33 +02:00
Clément Grégoire
12026dae5b Make ImageEntry m_startAddress/m_endAddress uint64_t as it will later be used in server, and thus not pointing to current process memory 2025-10-11 14:10:18 +02:00
Clément Grégoire
9665f7ac42 Move ImageEntry to header in prevision of sharing it with other CPP files in the future 2025-10-11 13:52:03 +02:00
Bartosz Taudul
027bc04279 Merge pull request #1168 from siliceum/fix/unintialized-pending-counts
Fix uninitialized Worker::m_pending* loaded traces.
2025-10-08 12:50:49 +02:00
Clément Grégoire
255f465a8f Fix uninitialized Worker::m_pending* loaded traces.
This was causing issues in the Infos -> Trace Statistics window as `GetCallstackFrameCount` uses `m_pendingCallstackFrames`. Just in case, init those all those variables where declared instead of constructor.
2025-10-08 07:47:51 +02:00
Bartosz Taudul
b6191ceddb Merge pull request #1160 from Voultapher/suppress-variable-shadowing-warnings
Suppress variable shadowing warnings
2025-10-07 19:23:41 +02:00
Lukas Bergdoll
5002c045e2 Make variable shadowing warning suppression optional 2025-10-03 11:57:18 +02:00
Bartosz Taudul
863bcc4635 Merge pull request #1161 from siliceum/doc/gpu-zone-and-ondemand
Document a classic mistake with Tracy's C GPU Zones API and `TRACY_ON_DEMAND`
2025-09-30 17:36:09 +02:00
Clément Grégoire
f5b3711163 Document a classic mistake with Tracy's C GPU Zones API and TRACY_ON_DEMAND 2025-09-30 15:08:42 +02:00
Lukas Bergdoll
abd7c4f317 Suppress variable shadowing warnings
This disables the warnings for MSVC, GCC and Clang in the ZoneScopedXX
macros.

The warnings produced are both a false positive since they didn't find a
bug *and* they don't happen in user written code, so the user couldn't
even do much about it. The previous workaround of using ZoneNamedXXX is
a poor solution since the Zone(Text|Name|etc.) macros all rely on the
`___tracy_scoped_zone` name.
2025-09-29 18:58:22 +02:00
Bartosz Taudul
0a5aa506b6 Update markdown manual. 2025-09-16 22:34:16 +02:00