aboutsummaryrefslogtreecommitdiff
path: root/spark-common/src/main/proto/spark
diff options
context:
space:
mode:
Diffstat (limited to 'spark-common/src/main/proto/spark')
-rw-r--r--spark-common/src/main/proto/spark/spark.proto15
1 files changed, 15 insertions, 0 deletions
diff --git a/spark-common/src/main/proto/spark/spark.proto b/spark-common/src/main/proto/spark/spark.proto
index 4777a5c..fbb6250 100644
--- a/spark-common/src/main/proto/spark/spark.proto
+++ b/spark-common/src/main/proto/spark/spark.proto
@@ -16,6 +16,19 @@ message CommandSenderData {
}
}
+message PlatformData {
+ Type type = 1;
+ string name = 2;
+ string version = 3;
+ string minecraft_version = 4; // optional
+
+ enum Type {
+ SERVER = 0;
+ CLIENT = 1;
+ PROXY = 2;
+ }
+}
+
message HeapData {
HeapMetadata metadata = 1;
repeated HeapEntry entries = 2;
@@ -23,6 +36,7 @@ message HeapData {
message HeapMetadata {
CommandSenderData user = 1;
+ PlatformData platform = 2;
}
message HeapEntry {
@@ -44,6 +58,7 @@ message SamplerMetadata {
ThreadDumper thread_dumper = 4;
DataAggregator data_aggregator = 5;
string comment = 6;
+ PlatformData platform = 7;
message ThreadDumper {
Type type = 1;