aboutsummaryrefslogtreecommitdiff
path: root/protos/perfetto/metrics/android/android_boot.proto
diff options
context:
space:
mode:
authorSteve Golton <stevegolton@google.com>2024-05-01 18:27:21 +0100
committerSteve Golton <stevegolton@google.com>2024-05-01 18:27:21 +0100
commit6ebf16051501bd2fe77fe2e7705a7956077c638a (patch)
treeab871a4821b12af61cfc8d23f2d46d72d4987c9f /protos/perfetto/metrics/android/android_boot.proto
parenta9b411b46dcbb0c08772b06f72eec7b8390210a6 (diff)
downloadperfetto-6ebf16051501bd2fe77fe2e7705a7956077c638a.tar.gz
ui: Release canary
Commands: $ git fetch origin $ git checkout -B ui-canary -t origin/ui-canary $ git merge --strategy=ours origin/main $ git diff --binary origin/main | git apply --reverse --index $ git commit --amend Check end state is correct: $ git diff ui-canary origin/main [no output] $ git rev-list --count ui-canary..origin/main 0 Change-Id: Id90d7499e500b964afe18dfcde66b3cb0fa51b4a
Diffstat (limited to 'protos/perfetto/metrics/android/android_boot.proto')
-rw-r--r--protos/perfetto/metrics/android/android_boot.proto31
1 files changed, 31 insertions, 0 deletions
diff --git a/protos/perfetto/metrics/android/android_boot.proto b/protos/perfetto/metrics/android/android_boot.proto
index a043efe06..9f90ba555 100644
--- a/protos/perfetto/metrics/android/android_boot.proto
+++ b/protos/perfetto/metrics/android/android_boot.proto
@@ -56,8 +56,39 @@ message AndroidBootMetric {
optional int64 alloc_gc_count = 11;
optional double mb_per_ms_of_gc = 12;
}
+ message OomAdjusterTransitionCounts {
+ // name of the item aggregated by. example: process_name, oom_adjuster_reason.
+ optional string name = 1;
+ // name of previous oom bucket.
+ optional string src_bucket = 2;
+ // name of oom bucket.
+ optional string dest_bucket = 3;
+ // count of transitions
+ optional int64 count = 4;
+ }
+ message OomAdjBucketDurationAggregation {
+ // name of the item aggregated by. example: process_name, oom_adjuster_reason
+ optional string name = 1;
+ // name of oom bucket.
+ optional string bucket = 2;
+ // Duration of the time in the bucket
+ optional int64 total_dur = 3;
+ }
+ message OomAdjDurationAggregation {
+ optional int64 min_oom_adj_dur = 1;
+ optional int64 max_oom_adj_dur = 2;
+ optional double avg_oom_adj_dur = 3;
+ optional int64 oom_adj_event_count = 4;
+ optional string oom_adj_reason = 5;
+ }
optional ProcessStartAggregation full_trace_process_start_aggregation = 6;
optional ProcessStartAggregation post_boot_process_start_aggregation = 7;
optional GarbageCollectionAggregation full_trace_gc_aggregation = 8;
optional GarbageCollectionAggregation post_boot_gc_aggregation = 9;
+ repeated OomAdjusterTransitionCounts post_boot_oom_adjuster_transition_counts_global = 10;
+ repeated OomAdjusterTransitionCounts post_boot_oom_adjuster_transition_counts_by_process = 11;
+ repeated OomAdjusterTransitionCounts post_boot_oom_adjuster_transition_counts_by_oom_adj_reason = 12;
+ repeated OomAdjBucketDurationAggregation post_boot_oom_adj_bucket_duration_agg_global = 13;
+ repeated OomAdjBucketDurationAggregation post_boot_oom_adj_bucket_duration_agg_by_process = 14;
+ repeated OomAdjDurationAggregation post_boot_oom_adj_duration_agg = 15;
}