The output of "jfr print" does not contain any categories. In practice, the following two problems may arise.
Therefore, the output of "jfr print" should contain categories.
1)
It is difficult to force unique event names. If multiple libraries contain events with the same name, it is not possible to determine which library the event belongs to. Including the category name is not completely determinable, but it is better than just the event name.
2)
If you find an event that interests you, you will see events related to it. In that case, you will have to specify a category. However, you must run "jfr metadata" to find the category.
In particular, it is difficult to classify captured data when all the "jfr print" output is captured in the monitoring tool. The monitoring tool must capture the output of "jfr metadata" before it can be used. This method is not practical.
Therefore, the output of "jfr print" should contain categories.
1)
It is difficult to force unique event names. If multiple libraries contain events with the same name, it is not possible to determine which library the event belongs to. Including the category name is not completely determinable, but it is better than just the event name.
2)
If you find an event that interests you, you will see events related to it. In that case, you will have to specify a category. However, you must run "jfr metadata" to find the category.
In particular, it is difficult to classify captured data when all the "jfr print" output is captured in the monitoring tool. The monitoring tool must capture the output of "jfr metadata" before it can be used. This method is not practical.