/* * Copyright (C) 2023 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; // Measure Android IO stats in a trace. // Note: This is an aggregated metric, for unaggregated metrics look at // AndroidIoUnaggregated in io_unagg_metric.proto. message AndroidIo { // Next id: 3 // Stats for Counters in an f2fs file system. // Counters are available for various operations. message F2fsCounterStats { optional string name = 1; optional double max = 2; optional double sum = 3; optional double min = 5; optional int64 dur = 6; optional int64 count = 7; optional double avg = 8; } // Aggregated stats for write operations in an f2fs file system. message F2fsWriteStats { optional int64 total_write_count = 1; optional int64 distinct_processes = 2; optional int64 total_bytes_written = 3; optional int64 distinct_device_count = 4; optional int64 distinct_inode_count = 5; optional int64 distinct_thread_count = 6; } repeated F2fsCounterStats f2fs_counter_stats = 1; repeated F2fsWriteStats f2fs_write_stats = 2; }