Currently, the sampling interval is hard coded to:
let mut args = format!(
"start,event=cpu,interval=100000000,wall=1000ms,jfr,cstack=dwarf,file={}",
jfr_file_path.display()
);
We should:
- Make it configurable.
- Document the default options
- Make it possible to wholesale override the string that is used