JfrUnit
https://github.com/moditect/jfrunit
JfrUnit - A
JUnit
extension for asserting JDK Flight Recorder events
Java Flight Recorder