I got to know that parsing JFR into Java can be done by unsupported parsers like JMC parser using jrockit from this. Also I figured during the flight recording there will be lot of events captured.
If I want to retrieve data values from various events such as Stack trace under Events tab, Hot method under Code tab, Call tree under Code tab etc etc. How do I filter? Example image
for example I was able to filter Call tree using following code as mentioned in jfr-flame-graph.
final String EVENT_TYPE = "Method Profiling Sample";
IView view = recording.createView();
for(IEvent event : view){
if(EVENT_TYPE.equals(event.getEventType().getName())){
FLRStackTrace flrStackTrace = (FLRStackTrace) event.getValue("(stackTrace)");
Here, Event type - Method Profiling Sample ; Identifier - (stacktrace);
So If I want to retrieve stacktrace/hot methods/etc what are the events/identifiers that I need to capture? Is there any documentations for this?