Add atom for a janky event reported by SurfaceFlinger.
This atom is intended to be used to alert a Perfetto subscriber on a
subset of janky events. This is for experimenting tracing jank events
from dogfood so that we can improve issue detection.
Bug: 148543048
Test: builds
Change-Id: I368855e4045c78a0cb65041cca762f4d334de916
(cherry picked from commit d09573a110)
Merged-In: I368855e4045c78a0cb65041cca762f4d334de916
This commit is contained in:
@@ -395,6 +395,7 @@ message Atom {
|
||||
SnapshotMergeReported snapshot_merge_reported = 255;
|
||||
ForegroundServiceAppOpSessionEnded foreground_service_app_op_session_ended =
|
||||
256 [(module) = "framework"];
|
||||
DisplayJankReported display_jank_reported = 257;
|
||||
SdkExtensionStatus sdk_extension_status = 354;
|
||||
}
|
||||
|
||||
@@ -8227,6 +8228,22 @@ message FrameTimingHistogram {
|
||||
repeated int64 frame_counts = 2;
|
||||
}
|
||||
|
||||
/**
|
||||
* Janky event as reported by SurfaceFlinger.
|
||||
* This event is intended to be consumed by a Perfetto subscriber for
|
||||
* automated trace collection.
|
||||
*
|
||||
* Logged from:
|
||||
* frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp
|
||||
*/
|
||||
message DisplayJankReported {
|
||||
// Informational field for how long the janky event lasted in milliseconds
|
||||
optional int64 event_duration_millis = 1;
|
||||
// Number of frame deadlines missed, where SurfaceFlinger failed to update
|
||||
// the display on time.
|
||||
optional int32 present_deadlines_missed = 2;
|
||||
}
|
||||
|
||||
/**
|
||||
* Information about camera facing and API level usage.
|
||||
* Logged from:
|
||||
|
||||
Reference in New Issue
Block a user