This should be straightforward to do as a post-filter -- though difficult without #1.
(I'm currently doing sudo ./src/proctracer -e open,access | grep -B3 -A14 <my-path> because those are the absolute numbers of lines before and after the target path for those event types. 🫠)