strawberry/app
trvon 11d3614348
profiling: pinned Tracy client, headless capture script, scan bench, tray + scan-stage zones
- third_party/tracy.wrap pins the Tracy client to v0.15.0 (sha256-checked), matching
  the Arch tracy 0.15.0 capture/export tools (client and tools must match exactly);
  built with tracy_enable + on_demand, so nothing is recorded or paid for unless a
  capture is connected. -Denable_profiling=true picks it up; default builds are
  unchanged (macros are no-ops).
- scripts/profile_capture.sh: headless (no GUI, no root) `run OUT -- CMD` or
  `attach OUT SECONDS` -> OUT.tracy + OUT.zones.csv + a top-zones table.
- strawberry-scan-bench (dev tool, not installed): the real scan_on_demand path over
  files with the real governor and rule set, so the scan path can be profiled
  without root or the daemon.
- Zones: scan_on_demand, image.read, image.sha256 (next to yara_scan/scan_image/
  assess_exec), tray.* (poll, on_reply, refresh_evidence, update_status/_policy,
  refresh_findings, notify) and evidence/database reloads.

Baseline (6 yams ASan binaries, 668 MiB, idle host): YARA 86%, read 9%, sha256 5%,
~61 MiB/s; PT_LOAD segments are 35-48% of those files. DEVELOPER.md: profiling
section, and the balanced row corrected (64 MiB image cap, 768 MiB budget).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 18:29:57 -07:00
..
tests Read the autostart test file without istreambuf_iterator 2026-10-25 21:00:19 -06:00
app_controller.cpp profiling: pinned Tracy client, headless capture script, scan bench, tray + scan-stage zones 2026-11-14 18:29:57 -07:00
app_controller.hpp tray: one outstanding status/policy poll; back off while the daemon is not answering 2026-11-14 15:36:15 -07:00
autostart.cpp Add "Start at login" to the tray app 2026-10-25 20:59:52 -06:00
autostart.hpp Add "Start at login" to the tray app 2026-10-25 20:59:52 -06:00
daemon_client.cpp Replace web UI with a Qt tray app 2026-10-25 18:17:03 -06:00
daemon_client.hpp Replace web UI with a Qt tray app 2026-10-25 18:17:03 -06:00
main.cpp App: tray icon survives the sway/waybar startup race 2026-10-28 19:15:12 -06:00
main_window.cpp profiling: pinned Tracy client, headless capture script, scan bench, tray + scan-stage zones 2026-11-14 18:29:57 -07:00
main_window.hpp Add "Start at login" to the tray app 2026-10-25 20:59:52 -06:00
main_window_policy.cpp profiling: pinned Tracy client, headless capture script, scan bench, tray + scan-stage zones 2026-11-14 18:29:57 -07:00
meson.build Build on macOS: portable syscalls, sockets and tray 2026-10-27 09:54:54 -06:00
notifier.cpp Build on macOS: portable syscalls, sockets and tray 2026-10-27 09:54:54 -06:00
notifier.hpp Build on macOS: portable syscalls, sockets and tray 2026-10-27 09:54:54 -06:00
notifier_tray.cpp Build on macOS: portable syscalls, sockets and tray 2026-10-27 09:54:54 -06:00
tray.cpp Add "Start at login" to the tray app 2026-10-25 20:59:52 -06:00
tray.hpp Build on macOS: portable syscalls, sockets and tray 2026-10-27 09:54:54 -06:00
tray_state.cpp Replace web UI with a Qt tray app 2026-10-25 18:17:03 -06:00
tray_state.hpp Replace web UI with a Qt tray app 2026-10-25 18:17:03 -06:00