From 4a466a177614405dff952243d369643ad80f40fc Mon Sep 17 00:00:00 2001 From: Wu Sheng Date: Tue, 31 Mar 2020 14:58:16 +0800 Subject: [PATCH] Fix the profile protocol. --- profile/Profile.proto | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/profile/Profile.proto b/profile/Profile.proto index 3da1b41..eb6bd96 100644 --- a/profile/Profile.proto +++ b/profile/Profile.proto @@ -42,8 +42,8 @@ service ProfileTask { message ProfileTaskCommandQuery { // current sniffer information - int32 serviceId = 1; - int32 instanceId = 2; + string service = 1; + string serviceInstance = 2; // last command timestamp int64 lastCommandTime = 3; @@ -71,8 +71,8 @@ message ThreadStack { // profile task finished report message ProfileTaskFinishReport { // current sniffer information - int32 serviceId = 1; - int32 instanceId = 2; + string service = 1; + string serviceInstance = 2; // profile task string taskId = 3; -- GitLab