From 0e05124fa8b99e403da71f699481bf4096fa6997 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 16 Apr 2024 08:18:47 +0200 Subject: prog: include number of calls into exec encoding Prepend total number of calls to the exec encoding. This will allow pkg/ipc to better parse executor response without full parsing of the encoded program. --- executor/executor.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'executor') diff --git a/executor/executor.cc b/executor/executor.cc index 4c24520e7..c5bd43f7b 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -759,6 +759,7 @@ void execute_one() call_props_t call_props; memset(&call_props, 0, sizeof(call_props)); + read_input(&input_pos); // total number of calls for (;;) { uint64 call_num = read_input(&input_pos); if (call_num == instr_eof) -- cgit mrf-deployment