perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
103 lines (88 loc) • 4.06 kB
text/typescript
//
// Copyright (C) 2021 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.
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
// @generated from file protos/perfetto/metrics/android/profiler_smaps.proto (package perfetto.protos, syntax proto2)
/* eslint-disable */
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
import type { AndroidProcessMetadata } from "./process_metadata_pb";
import { file_protos_perfetto_metrics_android_process_metadata } from "./process_metadata_pb";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/metrics/android/profiler_smaps.proto.
*/
export const file_protos_perfetto_metrics_android_profiler_smaps: GenFile = /*@__PURE__*/
fileDesc("CjRwcm90b3MvcGVyZmV0dG8vbWV0cmljcy9hbmRyb2lkL3Byb2ZpbGVyX3NtYXBzLnByb3RvEg9wZXJmZXR0by5wcm90b3MinwIKDVByb2ZpbGVyU21hcHMSOQoIaW5zdGFuY2UYASADKAsyJy5wZXJmZXR0by5wcm90b3MuUHJvZmlsZXJTbWFwcy5JbnN0YW5jZRpTCgdNYXBwaW5nEgwKBHBhdGgYASABKAkSDwoHc2l6ZV9rYhgCIAEoBRIYChBwcml2YXRlX2RpcnR5X2tiGAMgASgFEg8KB3N3YXBfa2IYBCABKAUafgoISW5zdGFuY2USOAoHcHJvY2VzcxgBIAEoCzInLnBlcmZldHRvLnByb3Rvcy5BbmRyb2lkUHJvY2Vzc01ldGFkYXRhEjgKCG1hcHBpbmdzGAIgAygLMiYucGVyZmV0dG8ucHJvdG9zLlByb2ZpbGVyU21hcHMuTWFwcGluZw", [file_protos_perfetto_metrics_android_process_metadata]);
/**
* @generated from message perfetto.protos.ProfilerSmaps
*/
export type ProfilerSmaps = Message<"perfetto.protos.ProfilerSmaps"> & {
/**
* @generated from field: repeated perfetto.protos.ProfilerSmaps.Instance instance = 1;
*/
instance: ProfilerSmaps_Instance[];
};
/**
* Describes the message perfetto.protos.ProfilerSmaps.
* Use `create(ProfilerSmapsSchema)` to create a new message.
*/
export const ProfilerSmapsSchema: GenMessage<ProfilerSmaps> = /*@__PURE__*/
messageDesc(file_protos_perfetto_metrics_android_profiler_smaps, 0);
/**
* @generated from message perfetto.protos.ProfilerSmaps.Mapping
*/
export type ProfilerSmaps_Mapping = Message<"perfetto.protos.ProfilerSmaps.Mapping"> & {
/**
* @generated from field: optional string path = 1;
*/
path: string;
/**
* @generated from field: optional int32 size_kb = 2;
*/
sizeKb: number;
/**
* @generated from field: optional int32 private_dirty_kb = 3;
*/
privateDirtyKb: number;
/**
* @generated from field: optional int32 swap_kb = 4;
*/
swapKb: number;
};
/**
* Describes the message perfetto.protos.ProfilerSmaps.Mapping.
* Use `create(ProfilerSmaps_MappingSchema)` to create a new message.
*/
export const ProfilerSmaps_MappingSchema: GenMessage<ProfilerSmaps_Mapping> = /*@__PURE__*/
messageDesc(file_protos_perfetto_metrics_android_profiler_smaps, 0, 0);
/**
* @generated from message perfetto.protos.ProfilerSmaps.Instance
*/
export type ProfilerSmaps_Instance = Message<"perfetto.protos.ProfilerSmaps.Instance"> & {
/**
* @generated from field: optional perfetto.protos.AndroidProcessMetadata process = 1;
*/
process?: AndroidProcessMetadata;
/**
* @generated from field: repeated perfetto.protos.ProfilerSmaps.Mapping mappings = 2;
*/
mappings: ProfilerSmaps_Mapping[];
};
/**
* Describes the message perfetto.protos.ProfilerSmaps.Instance.
* Use `create(ProfilerSmaps_InstanceSchema)` to create a new message.
*/
export const ProfilerSmaps_InstanceSchema: GenMessage<ProfilerSmaps_Instance> = /*@__PURE__*/
messageDesc(file_protos_perfetto_metrics_android_profiler_smaps, 0, 1);