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
Bartosz Taudul
edb5241bee
Be more efficient with missing values in asm attachments.
2026-05-10 11:35:31 +02:00
Bartosz Taudul
1bfd3beab9
Add "how to fix this crash?" preset question to call stack window.
2026-05-08 01:57:43 +02:00
Bartosz Taudul
b864ff47e5
Implement disabling LLM summary and suggestion.
2026-05-08 01:48:19 +02:00
Bartosz Taudul
4d34163ade
Allow accepting chat suggestion via Enter or Send button.
2026-05-08 01:17:31 +02:00
Bartosz Taudul
8ce05917db
Prevent stale summary after chat reset.
2026-05-08 01:07:59 +02:00
Bartosz Taudul
d59c1e7bd2
Prevent stale suggestion after chat reset.
2026-05-08 01:07:54 +02:00
Bartosz Taudul
6fb7f6d095
Add LLM chat suggestions.
2026-05-08 00:34:14 +02:00
Bartosz Taudul
db8bfc9ba9
Prevent in-flight query notification flicker.
2026-05-07 22:34:48 +02:00
Bartosz Taudul
b1768b98a5
Protocol was bumped to 77 after 0.13.1.
2026-05-06 01:37:54 +02:00
Bartosz Taudul
04728994a5
Shorten external frames in call stack tooltips.
2026-05-04 01:05:02 +02:00
Bartosz Taudul
600227a30b
More compact assembly code form.
...
For Qwen3.6-27B tokenizer:
AStar<> (3018 byte binary): 25546 -> 21099 tokens (82.6%)
LZ4_compress_fast_continue (10.47 KB): 84140 -> 69016 tokens (82%)
2026-05-02 16:31:59 +02:00
Bartosz Taudul
6d4a080da5
More compact symbol view source attachments.
2026-05-02 16:04:29 +02:00
Bartosz Taudul
7e043e21e7
Enable resizing of child call distribution box.
2026-05-02 15:42:34 +02:00
Bartosz Taudul
40b328dc95
Add drawable height splitter widget.
2026-05-02 15:42:18 +02:00
Bartosz Taudul
0a64f16c2d
More compact time range limits window.
2026-05-02 12:41:12 +02:00
Bartosz Taudul
9965aff723
Use fractional max rows for visible threads display to imply scrolling.
2026-05-02 01:41:28 +02:00
Bartosz Taudul
335403d860
Always dim out external frames.
2026-05-02 00:38:34 +02:00
Bartosz Taudul
4e6f7c2152
More return stack reinforcement.
2026-05-02 00:31:53 +02:00
Bartosz Taudul
8877a2527d
Proper count of possibly visible threads in wait stacks window.
2026-05-01 22:03:39 +02:00
Bartosz Taudul
4394d79c39
Limit "visible threads" rows displayed at once.
2026-05-01 21:20:51 +02:00
Bartosz Taudul
3900890ef4
Show visible threads list in columns.
...
Options list is excluded, as that's drag-n-drop, and that's too much
complication.
2026-05-01 21:20:51 +02:00
Bartosz Taudul
a11e417e43
Provide detailed call stack analysis instructions.
2026-05-01 17:56:36 +02:00
Bartosz Taudul
78bac8dcbc
Use correct tid field name.
2026-05-01 17:56:35 +02:00
Bartosz Taudul
460352d0d5
Allow opening callstack window from LLM attachment.
2026-04-30 21:42:22 +02:00
Bartosz Taudul
89bd8b2ba5
Add public View method for opening callstack window.
2026-04-30 21:41:53 +02:00
Bartosz Taudul
cf2c07d905
Mark GetSelectThread() const.
2026-04-30 21:38:33 +02:00
Bartosz Taudul
529c688ff2
Callstack thread display is not gated by LLM.
2026-04-30 18:40:54 +02:00
Bartosz Taudul
6c5e0cdf1d
Draw call stack thread name in call stack window.
2026-04-30 18:08:15 +02:00
Bartosz Taudul
80f504019f
Store callstack window callstack id together with origin thread id.
2026-04-30 17:06:59 +02:00
Bartosz Taudul
6ccad8a94d
Generic thread id naming in crash callstack attachments.
2026-04-30 12:48:58 +02:00
Bartosz Taudul
f0df6112dc
Move callstack summary in callstack window to its own line.
2026-04-30 12:46:22 +02:00
Bartosz Taudul
170b0b4edf
More compact listing format.
2026-04-30 12:19:13 +02:00
Bartosz Taudul
39cd16a92b
Move specialized LLM skills out of the system prompt.
2026-04-30 02:41:48 +02:00
Bartosz Taudul
eaf66e7af9
Cleanup.
2026-04-28 00:27:27 +02:00