You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/01/15 02:38:53 UTC

[skywalking-data-collect-protocol] branch master updated: Change `ProfileTaskSegmentSnapshot` to `ThreadSnapshot` (#15)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-data-collect-protocol.git


The following commit(s) were added to refs/heads/master by this push:
     new 7e13525  Change `ProfileTaskSegmentSnapshot` to `ThreadSnapshot` (#15)
7e13525 is described below

commit 7e135257720bd61e70d12ba69bda9c90c131e09f
Author: mrproliu <74...@qq.com>
AuthorDate: Wed Jan 15 10:38:48 2020 +0800

    Change `ProfileTaskSegmentSnapshot` to `ThreadSnapshot` (#15)
---
 profile/Profile.proto | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/profile/Profile.proto b/profile/Profile.proto
index 0ce1490..59f33d3 100644
--- a/profile/Profile.proto
+++ b/profile/Profile.proto
@@ -32,8 +32,8 @@ service ProfileTask {
     rpc getProfileTaskCommands (ProfileTaskCommandQuery) returns (Commands) {
     }
 
-    // collect dumped segment snapshot
-    rpc collectSnapshot (stream ProfileTaskSegmentSnapshot) returns (Downstream) {
+    // collect dumped thread snapshot
+    rpc collectSnapshot (stream ThreadSnapshot) returns (Downstream) {
     }
 
     // report profiling task finished
@@ -51,8 +51,8 @@ message ProfileTaskCommandQuery {
     int64 lastCommandTime = 3;
 }
 
-// dumped segment snapshot
-message ProfileTaskSegmentSnapshot {
+// dumped thread snapshot
+message ThreadSnapshot {
     // profile task id
     string taskId = 1;
     // dumped segment id
@@ -62,11 +62,11 @@ message ProfileTaskSegmentSnapshot {
     // snapshot dump sequence, start with zero
     int32 sequence = 4;
     // snapshot stack
-    ProfileTaskSegmentStack stack = 5;
+    ThreadStack stack = 5;
 }
 
-message ProfileTaskSegmentStack {
-    // snapshot code signature list
+message ThreadStack {
+    // stack code signature list
     repeated string codeSignatures = 1;
 }