- 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>
11 lines
480 B
Text
11 lines
480 B
Text
# Tracy client for -Denable_profiling=true. The client protocol must match the capture tools exactly:
|
|
# this pins v0.15.0 = Arch `tracy` 0.15.0 (tracy-capture / tracy-csvexport / tracy-profiler).
|
|
# Bump both together.
|
|
[wrap-file]
|
|
directory = tracy-0.15.0
|
|
source_url = https://github.com/wolfpld/tracy/archive/refs/tags/v0.15.0.tar.gz
|
|
source_filename = tracy-0.15.0.tar.gz
|
|
source_hash = 3d57da54aa67d7875da1e8fecd0bd5957675cef73c27dd52bffb6ab8d290a5e6
|
|
|
|
[provide]
|
|
tracy = tracy_dep
|