From 54f014b74d55c22ef6b742f1c50cbcc1bd788dbb Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Sat, 20 Jun 2026 21:21:32 -0500 Subject: [PATCH] Trace full GPS query results --- docs/compaction-handoff.md | 20 +++++++++++++++++--- docs/red4ext-logging-shim.md | 7 ++++++- red4ext/EdgeWeightGPS/src/Main.cpp | 9 ++++++++- 3 files changed, 31 insertions(+), 5 deletions(-) diff --git a/docs/compaction-handoff.md b/docs/compaction-handoff.md index c828294..c9a98f4 100644 --- a/docs/compaction-handoff.md +++ b/docs/compaction-handoff.md @@ -30,18 +30,29 @@ In `red4ext/EdgeWeightGPS/src/Main.cpp`: - `kEnableGpsProviderClassPatch = false` - `kEnableGpsProviderClassPatchTrace = false` - `kEnableGpsTraceHooks = true` -- `kEnableGpsQueryLifecycleHooks = false` +- `kEnableGpsQueryLifecycleHooks = true` +- `kEnableGpsRouteJobLifecycleHooks = false` - `kEnableGpsLocalSearchHooks = true` - `kEnableRouteUiTraceHooks = false` Active hooks: +- query lifecycle: + - `GPSQuerySubmit 0x70a42c` + - `GPSQueryDispatch 0x70a570` + - `GPSQueryResultFetch 0x7094b8` + - `GPSQueryStatus 0xaa5704` - `GPSSearch 0x44f054` - `GPSRouteProducer 0x44cc7c` - `GPSEdgeCost 0x44f838` - filtered provider filter `0x44ff68` - base provider filter `0x450b08` +Async route-job hooks (`0x8d17d8`, `0x126b28`, `0x883cd8`, +`0x11f5f60`, `0x818ba8`) are split behind +`kEnableGpsRouteJobLifecycleHooks` and currently disabled to keep the next +run focused on solved route result records plus local search/cost stats. + The filter probe records pass/fail totals by GPS point class and by bits in `point + 0x10`, tested against provider masks at `+0x108` and `+0x10a`. @@ -125,9 +136,12 @@ Ask for timestamps for: After the run: 1. Archive the log to `logs/EdgeWeightGPS_provider_filter_probe_