1234567891011121314151617181920212223242526272829303132333435363738394041424344(** Backends, which do the Processor Trace recording, present this unified
interface in order to be exposed as commands which can generate traces. *)open!Coreopen!AsyncmoduletypeS=sigmoduleRecord_opts:sigtypetvalparam:tCommand.Param.tendmoduleRecording:sigtypetvalattach_and_record:Record_opts.t->debug_print_perf_commands:bool->subcommand:Subcommand.t->when_to_snapshot:When_to_snapshot.t->trace_mode:Trace_mode.t->timer_resolution:Timer_resolution.t->record_dir:string->Pid.t->tDeferred.Or_error.tvalmaybe_take_snapshot:t->source:[`ctrl_c|`function_call]->unitvalfinish_recording:t->unitDeferred.Or_error.tendmoduleDecode_opts:sigtypetvalparam:tCommand.Param.tendvaldecode_events:Decode_opts.t->debug_print_perf_commands:bool->record_dir:string->perf_map:Perf_map.toption->Decode_result.tDeferred.Or_error.tend