Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion profile/Profile.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ service ProfileTask {
// collect dumped thread snapshot
rpc collectSnapshot (stream ThreadSnapshot) returns (Commands) {
}

// collect bytes profile data from go agent
rpc goProfileReport (stream GoProfileData) returns (Commands) {
}
// report profiling task finished
rpc reportTaskFinish (ProfileTaskFinishReport) returns (Commands) {
}
Expand Down Expand Up @@ -80,3 +82,12 @@ message ProfileTaskFinishReport {
// profile task
string taskId = 3;
}

// profile for go agent
message GoProfileData{
string taskId = 1;
// the truly profile data
bytes payload = 2;
// check last part true or false
bool isLast = 3;
}