blob: 9f38848997f5302066b148132c87928ac05688bd [file] [log] [blame]
/*
* Copyright (C) 2019 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 Utsname {
optional string sysname = 1;
optional string version = 2;
optional string release = 3;
optional string machine = 4;
}
message SystemInfo {
optional Utsname utsname = 1;
optional string android_build_fingerprint = 2;
// The version of traced (the same returned by `traced --version`).
// This is a human readable string with and its format varies depending on
// the build system and the repo (standalone vs AOSP).
// This is intended for human debugging only.
optional string tracing_service_version = 4;
// The Android SDK vesion (e.g. 21 for L, 31 for S etc).
// Introduced in Android T.
optional uint64 android_sdk_version = 5;
// Kernel page size - sysconf(_SC_PAGESIZE).
optional uint32 page_size = 6;
// Number of cpus - sysconf(_SC_NPROCESSORS_CONF).
// Might be different to the number of online cpus.
// Introduced in perfetto v44.
optional uint32 num_cpus = 8;
// The timezone offset from UTC, as per strftime("%z"), in minutes.
// Introduced in v38 / Android V.
optional int32 timezone_off_mins = 7;
// Ticks per second - sysconf(_SC_CLK_TCK).
// Not serialised as of perfetto v44.
optional int64 hz = 3;
}