Open asodja opened 1 year ago
Alternatively we could use --jfrsync
by default. One could then configure it via --async-profiler-jfrsync CONFIG
and disable it via --async-profiler-jfrsync none
.
We can then also add --profile async-profiler-cpu
that would measure just cpu without jfrsync, basically what does --profile async-profiler
now (similar also --profile async-profiler-heap
would not use jfrsync).
Async-profiler supports
--jfrsync CONFIG
option, see README:One option is, that we add it as
--profile async-profiler-jfrsync
option, similarly as we have--profile async-profiler-heap
. And a custom configurable--async-profiler-jfrsync CONFIG
whereCONFIG
is passed directly to--jfrsync
parameter of async-profiler.