Dump jank tag to event log
Allows us to detect specificities of different scenarios better in FaaS Bug: 271071509 Test: atest FlickerLibTest Change-Id: Ida39a42ca4003092583b154c4ed3287c929f66b4
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
option java_package com.android.internal.jank;
|
option java_package com.android.internal.jank;
|
||||||
|
|
||||||
# Marks a request to start tracing a CUJ. Doesn't mean the request was executed.
|
# Marks a request to start tracing a CUJ. Doesn't mean the request was executed.
|
||||||
37001 jank_cuj_events_begin_request (CUJ Type|1|5),(Unix Time Ns|2|3),(Elapsed Time Ns|2|3),(Uptime Ns|2|3)
|
37001 jank_cuj_events_begin_request (CUJ Type|1|5),(Unix Time Ns|2|3),(Elapsed Time Ns|2|3),(Uptime Ns|2|3),(Tag|3)
|
||||||
# Marks a request to end tracing a CUJ. Doesn't mean the request was executed.
|
# Marks a request to end tracing a CUJ. Doesn't mean the request was executed.
|
||||||
37002 jank_cuj_events_end_request (CUJ Type|1|5),(Unix Time Ns|2|3),(Elapsed Time Ns|2|3),(Uptime Time Ns|2|3)
|
37002 jank_cuj_events_end_request (CUJ Type|1|5),(Unix Time Ns|2|3),(Elapsed Time Ns|2|3),(Uptime Time Ns|2|3)
|
||||||
# Marks a request to cancel tracing a CUJ. Doesn't mean the request was executed.
|
# Marks a request to cancel tracing a CUJ. Doesn't mean the request was executed.
|
||||||
|
|||||||
@@ -581,7 +581,7 @@ public class InteractionJankMonitor {
|
|||||||
final Configuration config = builder.build();
|
final Configuration config = builder.build();
|
||||||
postEventLogToWorkerThread((unixNanos, elapsedNanos, realtimeNanos) -> {
|
postEventLogToWorkerThread((unixNanos, elapsedNanos, realtimeNanos) -> {
|
||||||
EventLogTags.writeJankCujEventsBeginRequest(
|
EventLogTags.writeJankCujEventsBeginRequest(
|
||||||
config.mCujType, unixNanos, elapsedNanos, realtimeNanos);
|
config.mCujType, unixNanos, elapsedNanos, realtimeNanos, config.mTag);
|
||||||
});
|
});
|
||||||
final TrackerResult result = new TrackerResult();
|
final TrackerResult result = new TrackerResult();
|
||||||
final boolean success = config.getHandler().runWithScissors(
|
final boolean success = config.getHandler().runWithScissors(
|
||||||
|
|||||||
Reference in New Issue
Block a user