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
39 changes: 39 additions & 0 deletions src/bitdrift_public/protobuf/workflow/v1/workflow_command.proto
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,45 @@ enum WellKnownCommandType {
}
]
}];
HEAP_PROFILE_TRACE = 13 [(well_known_command_options) = {
key: "heap_profile_trace"
description: "Captures a Perfetto heap profile of the application's process."
availability: {
supported_platforms: [
{
platform: ANDROID
min_os_version: "15"
min_config_version: 52
}
]
}
argument_definitions: [
{
name: "duration_ms"
type: INT64
description: "How long to profile, in milliseconds."
default_value: {sint_data: 5000}
},
{
name: "buffer_size_kb"
type: INT64
description: "Trace buffer size in KB."
default_value: {sint_data: 8192}
},
{
name: "sampling_interval_bytes"
type: INT64
description: "Mean number of bytes allocated between two recorded samples."
default_value: {sint_data: 65536}
},
{
name: "track_java_allocations"
type: BOOL
description: "Records Java heap allocations instead of native ones; a profile records one or the other."
default_value: {bool_data: true}
}
]
}];
}

// Selects one locally registered or built-in workflow command.
Expand Down
Loading