Bartosz Taudul
cf5325032e
Make the symbol view hotness indicators more chonky.
...
The previous uniform glow rectangle was not appropriate anymore, so the
glow was changed to be a proper gradient.
2026-05-17 21:53:06 +02:00
Bartosz Taudul
365c99e601
Restore frameData->imageName.Active() checks.
2026-05-17 18:58:29 +02:00
Bartosz Taudul
b8f68e3fae
Add local call stacks to sample statistics inlines list.
2026-05-17 18:13:52 +02:00
Bartosz Taudul
5d4ba366ba
DrawSourceTooltip reports if source was printed.
2026-05-17 17:58:22 +02:00
Bartosz Taudul
a7937d2710
Move local callstack printing to a separate function.
2026-05-17 17:56:14 +02:00
Bartosz Taudul
efd7ec262d
Set default LLM address to llama.cpp port.
2026-05-17 17:50:33 +02:00
Bartosz Taudul
4c6157d249
Remember last retrieved external check result.
2026-05-17 15:43:26 +02:00
Bartosz Taudul
6ae6fb741e
Check if image is external once, before checking subframe filenames.
...
Cache is shared between image names and source file names, because the
underlying StringIdx storage makes indices unique. Both name sets should
be completely separate, but if you have conflicts here, you have much
more pressing problems to solve.
2026-05-17 15:30:03 +02:00
Bartosz Taudul
b18d81cbbe
Explicitly state which code paths are important to consider.
2026-05-17 14:08:54 +02:00
Bartosz Taudul
03e60c902f
Clamp max percentage bar width.
2026-05-16 13:30:51 +02:00
Bartosz Taudul
0b88cbaa3c
Fix z/x keys in source view when the child panes (src/asm) are focused.
2026-05-16 13:29:26 +02:00
Bartosz Taudul
5b180fdd5f
Restore const qualifiers dropped in 744bd21 for global cache.
2026-05-14 22:59:10 +02:00
Bartosz Taudul
03f737a923
Use local external frame cache in BuildFlameGraph.
...
In terms of how much BuildFrameGraph execution time was spent in
IsFrameExternal:
1. no cache: 67%
2. global + shared_mutex: 84%
3. global + mutex: 80%
4. local: 41% (this commit)
2026-05-14 22:44:59 +02:00
Bartosz Taudul
a3cadb2fce
Protect against localtime failures.
2026-05-14 22:06:22 +02:00
Bartosz Taudul
6789e7d6f9
Cosmetics.
2026-05-14 20:36:55 +02:00
Bartosz Taudul
c3e3ea98ad
Add basic information about the profiling session to system prompt.
2026-05-14 19:51:42 +02:00
Bartosz Taudul
c11c36f9f7
Add trace filename and user data accessors to View.
2026-05-14 19:51:41 +02:00
Bartosz Taudul
150ec1534c
Store View in TracyLlm.
2026-05-14 19:51:41 +02:00
Bartosz Taudul
744bd21423
Change IsFrameExternal() interface to operate on StringIdx, move to Worker.
2026-05-14 19:01:04 +02:00
Bartosz Taudul
eb3df3b411
Fix blurred web page at fractional scaling.
2026-05-13 21:53:58 +02:00
Bartosz Taudul
7e9f66c987
Prefer switching to source/line within symbol in links from markdown.
2026-05-13 00:33:43 +02:00
Bartosz Taudul
f4b89278ef
Switching to a specified filename and line within already opened symbol.
2026-05-13 00:32:54 +02:00
Bartosz Taudul
e0a8499376
Add information about symbol vs source code.
2026-05-12 18:03:45 +02:00
Bartosz Taudul
6ded0d1d7b
Bump imgui to 1.92.8-docking.
2026-05-12 18:03:45 +02:00
Bartosz Taudul
77152da627
Make child sample counts consistent with child sample time formatting.
2026-05-12 02:03:16 +02:00
Bartosz Taudul
2a51d4acf1
Disable child calls controls if there are no child calls.
2026-05-12 02:02:05 +02:00
Bartosz Taudul
ea651eacce
Give guidance for looking at external function calls.
2026-05-12 01:22:09 +02:00
Bartosz Taudul
3edcf37c58
Add guidance about links in inline code.
2026-05-12 01:03:17 +02:00
Bartosz Taudul
453f2c1871
Display child calls time as a percentage.
2026-05-12 00:25:09 +02:00
Bartosz Taudul
e40497e02e
No 'if' for BeginChild.
2026-05-12 00:16:05 +02:00
Bartosz Taudul
e124ae985d
Add child call percentage relative to total symbol time.
2026-05-12 00:11:27 +02:00
Bartosz Taudul
efa1b1ef48
Convert child call distribution list to a table, add image column.
2026-05-12 00:11:27 +02:00
Bartosz Taudul
ec6c2618ca
Add missing separator.
2026-05-11 23:23:34 +02:00
Bartosz Taudul
fe4c920794
Skip inline symbols.
2026-05-11 23:10:06 +02:00
Bartosz Taudul
afcefc7855
Add llm tool for getting disassembly + profiling data for a symbol.
2026-05-11 22:23:29 +02:00
Bartosz Taudul
22ec55f1d5
Store View reference in TracyLlmTools.
2026-05-11 22:09:27 +02:00
Bartosz Taudul
c026c98bbb
Source file name is not needed for gathering assembly data.
2026-05-11 22:01:25 +02:00
Bartosz Taudul
205983e87f
Recalculate AddrStatData in AttachRangeToLlm.
...
For consistency, always provide the OS-level sampling data, not the hardware
samples.
Always disable inline propagation, which is intended as a local area help
for a human. It does not make sense in context of an llm.
2026-05-11 21:48:00 +02:00
Bartosz Taudul
c9a9bbdab2
Move Gather{Additional,}IpStats from TracySourceView to TracyDisassembly.
2026-05-11 21:22:53 +02:00
Bartosz Taudul
ae56d79c7e
Extract disassembly line formatting to a separate function.
2026-05-11 21:11:39 +02:00
Bartosz Taudul
860724d794
Cosmetics.
2026-05-11 20:27:53 +02:00
Bartosz Taudul
40199a42b3
Properly emit empty cost separators when line addres is not in ipCountAsm.
2026-05-11 20:27:04 +02:00
Bartosz Taudul
7c6e656fda
Use existing reference to array entry.
2026-05-11 20:01:40 +02:00
Bartosz Taudul
9611069a4f
Remove guidance about user replies from assembly attachments.
2026-05-11 19:51:39 +02:00
Bartosz Taudul
825960553a
Give reasoning for always providing source file name + line number.
2026-05-11 19:51:06 +02:00
Bartosz Taudul
325fe71d30
Move AddrStatData from TracySourceView to TracyDisassembly.
2026-05-11 19:22:37 +02:00
Bartosz Taudul
beec259520
Extract symbol code disassembly into a separate source file.
...
Two bugs fixed in the process:
1. X86_REG_BPL is now properly set (previously there were duplicate
X86_REG_BP entries).
2. maxLine is now properly calculated, instead of being set to the
last line value.
2026-05-11 01:30:28 +02:00
Bartosz Taudul
1dcad83790
Include call costs in assembly attachments.
2026-05-10 14:05:31 +02:00
Bartosz Taudul
8dd606009c
Require window focus for z/x key activation in source view.
2026-05-10 13:24:20 +02:00
Bartosz Taudul
17b6656c85
Provide program optimization strategies for llm.
2026-05-10 12:44:49 +02:00