File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -571,7 +571,10 @@ module Process = struct
571571 let exit_status, set_exit_status = Promise. create () in
572572 let t =
573573 Fd. use_exn " errors-w" errors_w @@ fun errors_w ->
574- let pid, pid_fd = eio_spawn errors_w c_actions in
574+ let pid, pid_fd =
575+ Eio.Private.Trace. with_span " spawn" @@ fun () ->
576+ eio_spawn errors_w c_actions
577+ in
575578 let pid_fd = Fd. of_unix ~sw ~seekable: false ~close_unix: true pid_fd in
576579 { pid; pid_fd; exit_status }
577580 in
Original file line number Diff line number Diff line change @@ -558,6 +558,7 @@ module Process = struct
558558 let t =
559559 let pid =
560560 Fd. use_exn " errors-w" errors_w @@ fun errors_w ->
561+ Eio.Private.Trace. with_span " spawn" @@ fun () ->
561562 eio_spawn errors_w c_actions
562563 in
563564 Fd. close errors_w;
You can’t perform that action at this time.
0 commit comments