aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src/main/proto/spark/spark_sampler.proto
diff options
context:
space:
mode:
authorembeddedt <42941056+embeddedt@users.noreply.github.com>2023-05-24 11:05:06 -0400
committerembeddedt <42941056+embeddedt@users.noreply.github.com>2023-05-24 11:05:06 -0400
commit67c1d7ba2f63cda64ea54e9630238e2b3a963a17 (patch)
tree55c404f59b27951299971a1f90a95ad0faba8ee9 /spark-common/src/main/proto/spark/spark_sampler.proto
parenta73c5d41be8eb3f25bfbd2bf9908ba4c8ca027b7 (diff)
parentf5b35cf7590e5e0d3f5b604216e1ba4a3d641c9d (diff)
downloadspark-67c1d7ba2f63cda64ea54e9630238e2b3a963a17.tar.gz
spark-67c1d7ba2f63cda64ea54e9630238e2b3a963a17.tar.bz2
spark-67c1d7ba2f63cda64ea54e9630238e2b3a963a17.zip
Merge remote-tracking branch 'lucko/master' into forge-1.7.10
Diffstat (limited to 'spark-common/src/main/proto/spark/spark_sampler.proto')
-rw-r--r--spark-common/src/main/proto/spark/spark_sampler.proto12
1 files changed, 12 insertions, 0 deletions
diff --git a/spark-common/src/main/proto/spark/spark_sampler.proto b/spark-common/src/main/proto/spark/spark_sampler.proto
index 245da37..dbc336a 100644
--- a/spark-common/src/main/proto/spark/spark_sampler.proto
+++ b/spark-common/src/main/proto/spark/spark_sampler.proto
@@ -15,6 +15,7 @@ message SamplerData {
map<string, string> line_sources = 5; // optional
repeated int32 time_windows = 6;
map<int32, WindowStatistics> time_window_statistics = 7;
+ SocketChannelInfo channel_info = 8;
}
message SamplerMetadata {
@@ -32,6 +33,7 @@ message SamplerMetadata {
int32 number_of_ticks = 12;
map<string, SourceMetadata> sources = 13;
map<string, string> extra_platform_metadata = 14;
+ SamplerMode sampler_mode = 15;
message ThreadDumper {
Type type = 1;
@@ -67,6 +69,11 @@ message SamplerMetadata {
string name = 1;
string version = 2;
}
+
+ enum SamplerMode {
+ EXECUTION = 0;
+ ALLOCATION = 1;
+ }
}
message ThreadNode {
@@ -94,3 +101,8 @@ message StackTraceNode {
repeated double times = 8;
repeated int32 children_refs = 9;
}
+
+message SocketChannelInfo {
+ string channel_id = 1;
+ bytes public_key = 2;
+}