chore: consolidate parallel-session WIP (HOLD — do not push)
Local snapshot of intermingled in-flight work, committed to unblock the encode
refactor (a clean ffmpeg_win.rs for the vbv-dedup follow-on). These hunks span
the same files and can't be cleanly split here; the commit bundles three
distinct workstreams that each belong in their own PR:
- logging rework (~43 files: level re-tiering, structured fields, `?e`,
hot-path flood latches)
- conflicting-host detection (detect.rs + detect/{linux,windows}.rs + wiring
in main.rs/mgmt.rs/Cargo.toml/docs/packaging)
- standby-sink DWM-stall attribution (windows/display_events.rs + capture/
vdisplay wiring)
NOT verified as a combination. NOT to be pushed until the refactor is done and
these are re-verified and reorganized into their proper per-workstream PRs.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -569,7 +569,7 @@ impl EiState {
|
||||
?cap,
|
||||
devices = self.devices.len(),
|
||||
resumed = self.devices.iter().filter(|d| d.resumed).count(),
|
||||
"libei: DROP — no resumed device exposes this capability"
|
||||
"libei: dropped event — no resumed device exposes this capability"
|
||||
);
|
||||
}
|
||||
// No resumed device with this capability yet. For touch this is usually permanent on
|
||||
@@ -727,10 +727,14 @@ impl EiState {
|
||||
dev.frame(self.last_serial, self.now_us());
|
||||
}
|
||||
if let Err(e) = ctx.flush() {
|
||||
tracing::warn!(error = %e, "libei: ctx.flush failed");
|
||||
// In the per-input-event hot path: a dead EIS socket fails flush on every event
|
||||
// (mouse-move = 100s/s), so gate the warn behind the same `loud` sampler as its siblings.
|
||||
if loud {
|
||||
tracing::warn!(error = %e, "libei: ctx.flush failed");
|
||||
}
|
||||
}
|
||||
if loud {
|
||||
tracing::info!(n, kind = ?ev.kind, idx, emitted, "libei: emitted");
|
||||
tracing::debug!(n, kind = ?ev.kind, idx, emitted, "libei: emitted");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -178,8 +178,8 @@ impl TritonPad {
|
||||
let reply = triton_feature_reply(&self.last_set, &self.serial, self.unit_id);
|
||||
if reply[1] != self.last_get_logged {
|
||||
self.last_get_logged = reply[1];
|
||||
tracing::info!(
|
||||
cmd = format!("{:#04x}", reply[1]),
|
||||
tracing::debug!(
|
||||
cmd = %format_args!("{:#04x}", reply[1]),
|
||||
"virtual SC2: answering feature GET"
|
||||
);
|
||||
}
|
||||
|
||||
@@ -259,8 +259,8 @@ impl UsbInterfaceHandler for TritonHandler {
|
||||
};
|
||||
if reply[1] != self.last_get_logged {
|
||||
self.last_get_logged = reply[1];
|
||||
tracing::info!(
|
||||
cmd = format!("{:#04x}", reply[1]),
|
||||
tracing::debug!(
|
||||
cmd = %format_args!("{:#04x}", reply[1]),
|
||||
"virtual SC2 usbip: answering feature GET"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user