/* * Copyright (C) 2024 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ syntax = "proto2"; package perfetto.protos; message AndroidAppProcessStartsMetric { // Next id : 4 message ProcessStart { optional string process_name = 1; optional string intent = 2; optional string reason = 3; optional int64 proc_start_dur = 4; optional int64 bind_app_dur = 5; optional int64 intent_dur = 6; optional int64 total_dur = 7; } // Provides java process startup information for // all processes starting after Boot completed broadcast in a trace. repeated ProcessStart all_apps = 1; // Provides java process startup information for all // processes started from a broadcast after Boot Complete broadcasts. repeated ProcessStart started_by_broadcast = 2; // Provides java process startup information for all // processes started from a service after Boot Complete broadcasts. repeated ProcessStart started_by_service = 3; }