platform: Add OOM Report & Crash Report

This commit is contained in:
世界
2026-04-02 16:39:34 +08:00
parent 506e18180e
commit 35edf17d68
34 changed files with 2491 additions and 603 deletions
+12 -1
View File
@@ -26,6 +26,8 @@ service StartedService {
rpc GetSystemProxyStatus(google.protobuf.Empty) returns(SystemProxyStatus) {}
rpc SetSystemProxyEnabled(SetSystemProxyEnabledRequest) returns(google.protobuf.Empty) {}
rpc TriggerDebugCrash(DebugCrashRequest) returns(google.protobuf.Empty) {}
rpc TriggerOOMReport(google.protobuf.Empty) returns(google.protobuf.Empty) {}
rpc SubscribeConnections(SubscribeConnectionsRequest) returns(stream ConnectionEvents) {}
rpc CloseConnection(CloseConnectionRequest) returns(google.protobuf.Empty) {}
@@ -141,6 +143,15 @@ message SetSystemProxyEnabledRequest {
bool enabled = 1;
}
message DebugCrashRequest {
enum Type {
GO = 0;
NATIVE = 1;
}
Type type = 1;
}
message SubscribeConnectionsRequest {
int64 interval = 1;
}
@@ -214,4 +225,4 @@ message DeprecatedWarning {
message StartedAt {
int64 startedAt = 1;
}
}