Commit Graph

9345 Commits

Author SHA1 Message Date
Bartosz Taudul
05cceee0df Release 0.13.1. v0.13.1 2025-12-11 23:46:02 +01:00
Bartosz Taudul
16bac5f807 Merge pull request #1220 from Lgt2x/imgui-x11
Link imgui against X11 libs
2025-12-06 01:23:47 +01:00
Louis Gombert
92ca07bb31 Link imgui against X11 libs
Imgui-docking >=v1.92.3 GLFW back-end requires linking against x11 libraries. This solves link failures when building tracy with the LEGACY option turned on.
2025-12-05 23:49:16 +01:00
Bartosz Taudul
10500ed1f0 Merge pull request #1218 from mtreglia-gpsw/libcurl-fixed-version
Required lib-curl version to 8.17.0 in vendor.cmake pkg-config
2025-12-05 11:14:24 +01:00
Marco Treglia
951fc1b071 required pkg-config lib-curl v7.87.0 in the profiler
Resolving compiling issue when building with previous version of lib-curl.

If locally is present an older version of lib-curl the profiler build fails with:

```
   29 |     curl_easy_setopt( curl, CURLOPT_CA_CACHE_TIMEOUT, 604800L );
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~
      |                             CURLOPT_DNS_CACHE_TIMEOUT
include/curl/curl.h:3109:68: note: expanded from macro 'curl_easy_setopt'
 3109 | #define curl_easy_setopt(handle,opt,param) curl_easy_setopt(handle,opt,param)
      |                                                                    ^
include/curl/curl.h:1398:11: note: 'CURLOPT_DNS_CACHE_TIMEOUT' declared here
 1398 |   CURLOPT(CURLOPT_DNS_CACHE_TIMEOUT, CURLOPTTYPE_LONG, 92),
      |           ^
tracy/profiler/src/profiler/TracyLlmApi.cpp:144:46: error: use of undeclared identifier 'CURL_WRITEFUNC_ERROR'; did you mean 'CURLE_WRITE_ERROR'?
  144 |             if( !v.callback( json ) ) return CURL_WRITEFUNC_ERROR;
      |                                              ^~~~~~~~~~~~~~~~~~~~
      |                                              CURLE_WRITE_ERROR
include/curl/curl.h:524:3: note: 'CURLE_WRITE_ERROR' declared here
  524 |   CURLE_WRITE_ERROR,             /* 23 */
      |   ^
2 errors generated.
```

Both CURLOPT_CA_CACHE_TIMEOUT and CURL_WRITEFUNC_ERROR were added in
https://curl.se/ch/7.87.0.html

Now checking the version will avoid such issues:

-- Checking for module 'libcurl>=7.87.0'
--   Package dependency requirement 'libcurl >= 7.87.0' could not be satisfied.
Package 'libcurl' has version '7.84.0', required version is '>= 7.87.0'
-- CPM: Adding package libcurl@ (curl-8_17_0 to ...)
2025-12-05 10:51:29 +01:00
Bartosz Taudul
886a0abec9 Merge pull request #1215 from slomp/slomp/worker-thread-race
Fixed race condition around `s_sysTraceThread`
2025-12-03 22:43:42 +01:00
Marcos Slomp
7fa30d08b5 clarification 2025-12-03 12:41:44 -08:00
Marcos Slomp
874d65b036 code formatting 2025-12-03 10:15:19 -08:00
Marcos Slomp
c44beaac28 fixed race condition around s_sysTraceThread 2025-12-02 16:19:20 -08:00
Bartosz Taudul
52bfac4243 Merge pull request #1214 from tmcdonell/feat/ignore-memory-faults
feat: Add build option to ignore memory free faults
2025-12-02 17:32:06 +01:00
Trevor L. McDonell
d1b0406801 Add option to ignore memory free faults
This replaces the IsApple flag, which was previously only used for this purpose.
2025-12-02 16:16:50 +01:00
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