Commit Graph
10731 Commits
Author SHA1 Message Date
Bartosz Taudul d5760a05ae Do not crash on missing symbol data in sample entry stacks window.
The window can be opened for a symbol which has no symbol stats or no
symbol data. For example, the statistics window can produce clickable
rows for symbols that are not present in the symbol map. Close the
window instead of dereferencing null pointers.
2026-07-25 19:46:01 +02:00
Bartosz Taudul bacfbccb97 Use reached stats for entry stacks access in assembly view.
The instruction tooltip advertised the number of "was executing" entry
call stacks, but middle-clicking opens the sample entry stacks window,
which now defaults to the "was reached" mode. Count the non-reentrant
reached stacks instead, so the tooltip matches what the window shows.

Gating on the reached map also makes entry stacks accessible for
symbols which only ever appear deeper in the call stack. This can
happen when inspecting instructions whose cost consists purely of
child samples.
2026-07-25 19:45:58 +02:00
Bartosz Taudul 2e9e0e2643 Update NEWS. 2026-07-25 17:33:00 +02:00
Bartosz Taudul fc26cc0f79 Update manual. 2026-07-25 17:30:32 +02:00
Bartosz Taudul 849bc3ae8c Allow entry stacks for symbols that were only reached. 2026-07-25 17:28:07 +02:00
Bartosz Taudul 67ae7d849f Add "was reached" modes to sample entry stacks window. 2026-07-25 17:25:17 +02:00
Bartosz Taudul 1dfcacd802 Collect entry stacks for "was this symbol reached" statistics.
SymbolStats now has two additional entry stack maps, which record the
call stacks below every occurrence of a symbol in a sample, not only
when the symbol was at the top of the stack:

- wasReached counts each occurrence separately. If a symbol re-enters
  itself through recursion, every re-entry adds an entry stack, which
  will itself contain the symbol somewhere below.
- wasReachedNonReentrant counts only the outermost occurrence, so each
  sample contributes exactly once and recursion is ignored. The sum of
  counts in this map equals the symbol's inclusive sample count.

To achieve this, the call stack is walked bottom-up, which makes the
first encountered occurrence of a symbol the outermost one. Symbols at
inline positions get the remaining inline frames of their frame group
as a synthetic frame, mirroring what was already done for the top of
the stack.

The wasExecuting and wasExecutingBase maps are now filled by the same
walk, as its topmost-frame special case. The keys they receive are
identical to what the previous code produced.

Note that there is no "base" variant of the reached maps. A base symbol
is present as the last frame of every frame group that contains its
inline functions, so its wasReached map already covers the whole symbol
at base granularity. Merging in the inline symbols' maps, as done for
wasExecutingBase, would only multi-count the same samples.
2026-07-25 17:02:42 +02:00
Bartosz Taudul 2e23c112bd Extract synthetic call stack interning into a helper. 2026-07-25 16:57:57 +02:00
Bartosz Taudul d74d77226c Guard against empty synthetic call stacks in parents frame trees.
A sample with a single-frame call stack already produces a zero-length parent
stack, and GetParentsCallstackFrameTree{BottomUp,TopDown} call cs.back() /
cs.front() on it, resulting in UB.
2026-07-25 16:43:43 +02:00
Bartosz Taudul 8f52e0e5f5 Enable clipboard on macOS. 2026-07-25 14:34:24 +02:00
Bartosz Taudul 9db60de03b Do not embed default ImGui font. 2026-07-25 14:30:13 +02:00
Bartosz Taudul e53c2849fa Bump ImGui to 1.92.9-docking. 2026-07-25 14:29:12 +02:00
Bartosz Taudul 7c30fedaaa Rebuild markdown manual. 2026-07-25 00:19:47 +02:00
Bartosz Taudul 9314b8cbce Update manual. 2026-07-25 00:17:42 +02:00
Bartosz Taudul ff3e31f564 Update desktop file. 2026-07-24 23:14:09 +02:00
Bartosz Taudul ac159d6127 Fix RUNPATH in tracy-profiler AppImage
patchelf the stripped binary to /../lib, collapsing the RUNPATH
to the single intended entry. The wayland .pc files baked an absolute
build-host path and a trailing empty component into RUNPATH; the former
leaks the build environment and could shadow bundled libs on the target,
the latter can cause cwd library searches on older glibc.

Add patchelf to the appimage workflow's apt install list.
2026-07-24 20:34:10 +02:00
Bartosz Taudul bcddc1d9f1 Cache wayland checkout. 2026-07-24 20:34:08 +02:00
Bartosz Taudul d231c2e95f Correct way to link with wayland libraries. 2026-07-24 18:25:05 +02:00
Bartosz Taudul b94a1e22c1 Update git ignore list. 2026-07-24 18:25:05 +02:00
Bartosz Taudul cf82fb9bb0 Disable unused stuff if building libcurl. 2026-07-24 18:25:05 +02:00
Bartosz Taudul f30d32a908 Add AppImage build script and workflow. 2026-07-24 18:25:05 +02:00
Bartosz Taudul b7eda34332 Add a warning about minimum supported wayland-client version. 2026-07-24 18:11:42 +02:00
Bartosz Taudul 5036ec9128 Merge pull request #1434 from damcclos/damcclos/thread-lock-time
Add function to calculate thread lock wait time in TracyTimelineItemThread
2026-07-23 22:14:46 +02:00
David McCloskey 59a8ae2d7d Adding documentation 2026-07-23 14:38:56 -05:00
David McCloskey ea3d0b4d8d Add function to calculate thread lock wait time in TracyTimelineItemThread
This update introduces a new function, GetThreadLockWaitTime, which computes the total wait time for locks held by a specific thread. The function aggregates wait times across all locks and updates the tooltip to display lock wait time and count, enhancing the profiling capabilities of the timeline item.
2026-07-23 14:21:54 -05:00
Bartosz Taudul 917c4baffb GLFW from brew should no longer be needed on macOS. 2026-07-23 21:11:07 +02:00
Bartosz Taudul faab64018a Update NEWS. 2026-07-23 21:03:07 +02:00
Bartosz Taudul fb296ba1a4 Update manual. 2026-07-23 21:03:06 +02:00
Bartosz Taudul 877efe4eda Track current personality and warn when the selected one is not active. 2026-07-23 20:34:59 +02:00
Bartosz Taudul 90c6ad80e1 Clamp personality index to personality table size. 2026-07-23 20:29:26 +02:00
Bartosz Taudul 67c4102bf3 Restore disabling fast model selection during replies. 2026-07-23 20:26:41 +02:00
Bartosz Taudul c1fa33a875 Link with system libcurl to avoid libssh deps. 2026-07-23 15:43:59 +02:00
Bartosz Taudul 1d6f43d92f Disable external libraries used by freetype.
Not needed for the current set of fonts.
2026-07-23 15:30:39 +02:00
Bartosz Taudul c2b489a0ff Do not link macOS bundle with homebrew libraries.
Do not want dependency on something being installed via brew.
2026-07-23 14:57:45 +02:00
Bartosz Taudul 7986dc18d0 Add yalter's guadec presentation to list of videos. 2026-07-23 01:53:54 +02:00
Bartosz Taudul f9413c268d Bump usearch to 2.26.0. 2026-07-22 22:35:42 +02:00
Bartosz Taudul 6e23d220d7 Bump capstone to 6.0.0-Alpha10. 2026-07-22 22:33:29 +02:00
Bartosz Taudul 158ab87bee Rebuild markdown manual. 2026-07-22 22:04:04 +02:00
Bartosz Taudul d2cfc7b5d1 Document LLM personality selection. 2026-07-22 21:40:01 +02:00
Bartosz Taudul b0d75acdef Add LLM personality presets. 2026-07-22 02:10:24 +02:00
Bartosz Taudul c482f1e25d Bury fast model deeper in the UI. 2026-07-22 01:18:47 +02:00
Bartosz Taudul 8221a80b47 Add icon to LLM API entry field. 2026-07-22 01:13:20 +02:00
Bartosz Taudul afe249b6d3 Do not disconnect active connections.
The timeout option stops the connection if it has now finished after the
specified time, even if data transfer is underway. Switch to using a low
speed timeout instead, which stops the connection only if no data is being
transferred.

A typical case where this was hit was a slow-responding LLM generating
a large amount of text.

The high timeout value is still needed to account for long prefill times.
2026-07-21 23:53:01 +02:00
Bartosz Taudul 72b1edc39d Set executable bit in macOS bundle. 2026-07-21 20:24:38 +02:00
Bartosz Taudul 2247f1d14b Add macOS artifacts to release workflow. 2026-07-21 19:57:45 +02:00
Bartosz Taudul b0be3a5776 Bump actions/setup-python from 2 to 7. 2026-07-21 19:52:22 +02:00
Bartosz Taudul dc261fe799 Add permissions contents write to release workflow. 2026-07-21 19:46:37 +02:00
Bartosz Taudul 21f0d15f5f Do not install library in CI workflows. 2026-07-21 19:35:43 +02:00
Bartosz Taudul 51f2b1da87 Do not zip bundle. 2026-07-21 19:21:33 +02:00
Bartosz Taudul b32d454bcd Try making a macos bundle. 2026-07-21 16:42:33 +02:00