From 5af2e6fb4cbd21f836c7ad56100b3c4535a831de Mon Sep 17 00:00:00 2001 From: Luck Date: Sun, 13 Nov 2022 12:30:59 +0000 Subject: Remove recursion in protobuf data --- spark-common/src/main/proto/spark/spark_sampler.proto | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'spark-common/src/main/proto/spark/spark_sampler.proto') diff --git a/spark-common/src/main/proto/spark/spark_sampler.proto b/spark-common/src/main/proto/spark/spark_sampler.proto index 2cb08f1..245da37 100644 --- a/spark-common/src/main/proto/spark/spark_sampler.proto +++ b/spark-common/src/main/proto/spark/spark_sampler.proto @@ -78,18 +78,19 @@ message ThreadNode { repeated StackTraceNode children = 3; repeated double times = 4; + repeated int32 children_refs = 5; } message StackTraceNode { // replaced - reserved 1; - reserved "time"; + reserved 1, 2; + reserved "time", "children"; - repeated StackTraceNode children = 2; string class_name = 3; string method_name = 4; int32 parent_line_number = 5; // optional int32 line_number = 6; // optional string method_desc = 7; // optional repeated double times = 8; + repeated int32 children_refs = 9; } -- cgit