1/* 2 * Copyright (C) 2019 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 21message Utsname { 22 optional string sysname = 1; 23 optional string version = 2; 24 optional string release = 3; 25 optional string machine = 4; 26} 27 28message SystemInfo { 29 optional Utsname utsname = 1; 30 optional string android_build_fingerprint = 2; 31 32 // Ticks per second - sysconf(_SC_CLK_TCK). 33 optional int64 hz = 3; 34 35 // The version of traced (the same returned by `traced --version`). 36 // This is a human readable string with and its format varies depending on 37 // the build system and the repo (standalone vs AOSP). 38 // This is intended for human debugging only. 39 optional string tracing_service_version = 4; 40 41 // The Android SDK vesion (e.g. 21 for L, 31 for S etc). 42 // Introduced in Android T. 43 optional uint64 android_sdk_version = 5; 44 45 // Kernel page size - sysconf(_SC_PAGESIZE). 46 optional uint32 page_size = 6; 47} 48