1/* 2 * Copyright (C) 2024 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17syntax = "proto2"; 18 19package perfetto.protos; 20 21// Data source that records events from the modem. 22message PixelModemConfig { 23 // Event group to record, as defined by the modem. 24 enum EventGroup { 25 EVENT_GROUP_UNKNOWN = 0; 26 27 // Events suitable for low bandwidth tracing only. 28 EVENT_GROUP_LOW_BANDWIDTH = 1; 29 30 // Events suitable for high and low bandwidth tracing. 31 EVENT_GROUP_HIGH_AND_LOW_BANDWIDTH = 2; 32 } 33 34 optional EventGroup event_group = 1; 35 36 // If set, record only events with these hashes. 37 repeated int64 pigweed_hash_allow_list = 2; 38 39 // If set and allow_list is not set, deny events with these hashes. 40 repeated int64 pigweed_hash_deny_list = 3; 41} 42