Discussion on possible kernel assisted approach for fixing hardware trace re-construction issues when runtime code is encountered. Examples are static-key instrumentation and JIT code. Initial PoC with Intel PT
A research paper on this work has been submitted recently to SPE journal if someone is interested in investigating further.