From 9ccf2ebe8a5ee8f0a79de6890a28a179f51f7263 Mon Sep 17 00:00:00 2001 From: Bin Liu Date: Fri, 2 Dec 2022 14:53:58 +0800 Subject: [PATCH] agent: add signal value to log For signal_process call, log the signal value in logs. Signed-off-by: Bin Liu --- src/agent/src/rpc.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/agent/src/rpc.rs b/src/agent/src/rpc.rs index ede846732a..d06f986e54 100644 --- a/src/agent/src/rpc.rs +++ b/src/agent/src/rpc.rs @@ -382,6 +382,7 @@ impl AgentService { "signal process"; "container-id" => cid.clone(), "exec-id" => eid.clone(), + "signal" => req.signal, ); let mut sig: libc::c_int = req.signal as libc::c_int;