Commit Graph

9334 Commits

Author SHA1 Message Date
Bartosz Taudul
29e8bbbbb2 Add user manual viewer. 2025-12-01 00:29:42 +01:00
Bartosz Taudul
6489874327 Extract links from manual section titles. 2025-11-30 22:05:20 +01:00
Bartosz Taudul
8c8cb8899f Store manual chunk level. 2025-11-30 21:54:19 +01:00
Bartosz Taudul
eec5444d84 Fix invalid chapter names for unnumbered manual sections. 2025-11-30 02:39:16 +01:00
Bartosz Taudul
154712bc81 Keep user manual chunks in a separate object.
This makes the user manual available outside of the LLM context.

The code is also more readable, as splitting the manual into sections and
splitting section content into chunks fit for embeddings is now separated.
A bug has been fixed, where the above splits were mixed up for the last
manual section, producing invalid data.

The unembedded manual contents are no longer held in the memory. The only
use case for this was to calculate the manual contents hash. The hash is
now precalculated and cached.
2025-11-29 20:16:00 +01:00
Bartosz Taudul
b74cac005d Retrieve manual chunk only once. 2025-11-29 19:56:07 +01:00
Bartosz Taudul
9aa78b224c Bump imgui to 1.92.5-docking. 2025-11-29 17:40:43 +01:00
Bartosz Taudul
3ddb7f6fd3 Merge pull request #1209 from ruifig/truncated_mean
Added the --truncated_mean parameter to csvexport
2025-11-26 21:03:08 +01:00
Rui Figueira
f6a6947987 Added the --truncated_mean paramter to csvexport 2025-11-26 16:11:35 +00:00
Bartosz Taudul
2acf93ac68 Merge pull request #1208 from foxtran/fix/Apple-15
Fix build for AppleClang 15
2025-11-26 15:14:21 +01:00
Igor S. Gerasimov
ade4182214 Tracy can not be compiled for too old target 2025-11-26 14:14:08 +01:00
Igor S. Gerasimov
de3cca3b97 Construct full type: std::vector<tracy::TracyLlmTools::ManualChunk>::emplace_back<std::string> is not available 2025-11-26 13:34:17 +01:00
Igor S. Gerasimov
e612c2674d Use std::string instead of std::format: Apple Clang 15 does not support it 2025-11-26 13:32:02 +01:00
Bartosz Taudul
be23d9354a Handle Lost_Event in Vsync callback on Windows. 2025-11-22 15:39:52 +01:00
Bartosz Taudul
a11c3d4236 Merge pull request #1199 from deralmas/fix-error-suppression-for-real
Fix error suppression macro
2025-11-15 22:27:41 +01:00
Dery Almas
e1110d6c58 Fix error suppression macro
My previous fix triggered another issue: apparently at least GCC expects
the `_Pragma` operator to be placed in its own statement (after a
semicolon). The current macro simply dumped the expression and the
_Pragma together, triggering an error. Putting a semicolon after `Expr`
fixes the issue (actually double-checked after a `git clean -fdx`),
although slightly changing the API (the semicolon after the wrapped
macros is now optional).
2025-11-15 21:38:08 +01:00
Bartosz Taudul
36d3f1e0ab Merge pull request #1198 from deralmas/fix-error-suppression
Fix shadow error suppression on GCC
2025-11-15 20:25:36 +01:00
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