[Audit] bring the audit_61 branch probe onto sylpheed-re #2
Reference in New Issue
Block a user
Delete Branch "fix/audit61-onto-sylpheed-re"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #1.
--audit_61_branch_probe_pcsexisted only onphase-a-tracingand the 2026-07-28 snapshot, so/sylph-canarycould not work — it drives probe runs and parses hit counts. Measured, not assumed:stringson both built binaries gave zero hits for the cvar.Merge, not rebuild
phase-a-tracingis 1 commit past the common ancestor;sylpheed-reis 232 commits ahead of it. Rebuilding from that branch would have discarded all 232, including theRE-INPUT/RE-DRAWinstrumentation. Bringing the one commit forward is the cheap direction.Cherry-picked
a15430902—30d05ee97, the other commit named in #1, does not introduce the probe; it is the cross-build snapshot.The three conflicts, each resolved on evidence
kernel/event_log.cclooked like two rival implementations (726 vs 709 lines). It is not: they share 709 lines and differ by 19 — ours is a strict superset, phase-a's file plus a laterphase_a_fileio_onlymode that suppresses per-export log spam. Took ours whole.cpu/cpu_flags.{cc,h}taken as a verified union, not hand-edited conflict markers. Theirs contributes 11 cvars (audit_61plusaudit_67/68/69/70), ours contributesphase_a_fileio_onlyandkernel_emit_contention. I then asserted no flag present on either side was missing from the result.🔴 That assertion earned its keep — it caught
kernel_emit_contention, which a plain "take theirs" drops silently. My first pass did drop it.All ten probe cvars are referenced by the cleanly-merged
x64_emitter.cc/ppc_hir_builder.cc, so they are load-bearing. The threeaudit_jit_prolog_*cvars that look undeclared areDEFINE_uint32in the translation unit that uses them — pre-existing onsylpheed-re, not this merge.Built and verified
Incremental build, 705/705 steps, 0 errors (capped at 6 GB /
-j3, since an unbounded build has frozen this box before).stringson the newbin/Linux/Checked/xenia_canary:audit_61_branch_probe_pcsRE-INPUT/RE-DRAWphase_a_fileio_onlykernel_emit_contention⚠️ Only the
Checkedconfig is a target in this build dir —bin/Linux/Release/xenia_canaryis not buildable here (0 ninja steps) and still dates from 2026-08-28 without the probe. So the instrumented oracle is the Checked binary, and the launchers that default to Release need pointing at it. Handled separately in the Sylpheed repo.Not run from here: the standing rule is never to judge a Canary run launched from Bash. Probe runs go through
tools/run-canary-safe.sh.