perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
272 lines • 19.6 kB
JavaScript
"use strict";
//
// Copyright (C) 2018 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.
Object.defineProperty(exports, "__esModule", { value: true });
exports.PerfSampleDefaultsSchema = exports.PerfSample_SampleSkipReasonSchema = exports.PerfSample_SampleSkipReason = exports.PerfSample_ProducerEvent_DataSourceStopReasonSchema = exports.PerfSample_ProducerEvent_DataSourceStopReason = exports.PerfSample_ProducerEventSchema = exports.PerfSampleSchema = exports.Profiling_StackUnwindErrorSchema = exports.Profiling_StackUnwindError = exports.Profiling_CpuModeSchema = exports.Profiling_CpuMode = exports.ProfilingSchema = exports.StreamingProfilePacketSchema = exports.StreamingFreeSchema = exports.StreamingAllocationSchema = exports.ProfilePacket_ProcessHeapSamples_ClientErrorSchema = exports.ProfilePacket_ProcessHeapSamples_ClientError = exports.ProfilePacket_ProcessHeapSamplesSchema = exports.ProfilePacket_ProcessStatsSchema = exports.ProfilePacket_Histogram_BucketSchema = exports.ProfilePacket_HistogramSchema = exports.ProfilePacket_HeapSampleSchema = exports.ProfilePacketSchema = exports.file_protos_perfetto_trace_profiling_profile_packet = void 0;
const codegenv1_1 = require("@bufbuild/protobuf/codegenv1");
const perf_events_pb_1 = require("../../common/perf_events_pb");
const profile_common_pb_1 = require("./profile_common_pb");
/**
* Describes the file protos/perfetto/trace/profiling/profile_packet.proto.
*/
exports.file_protos_perfetto_trace_profiling_profile_packet = (0, codegenv1_1.fileDesc)("CjRwcm90b3MvcGVyZmV0dG8vdHJhY2UvcHJvZmlsaW5nL3Byb2ZpbGVfcGFja2V0LnByb3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OV0lORF9TVEFHRRACEiAKHFBST0ZJTEVSX1NLSVBfVU5XSU5EX0VOUVVFVUUQA0IXChVvcHRpb25hbF91bndpbmRfZXJyb3JCIAoeb3B0aW9uYWxfc2FtcGxlX3NraXBwZWRfcmVhc29uIroBChJQZXJmU2FtcGxlRGVmYXVsdHMSNgoIdGltZWJhc2UYASABKAsyJC5wZXJmZXR0by5wcm90b3MuUGVyZkV2ZW50cy5UaW1lYmFzZRIxCglmb2xsb3dlcnMYBCADKAsyHi5wZXJmZXR0by5wcm90b3MuRm9sbG93ZXJFdmVudBIbChNwcm9jZXNzX3NoYXJkX2NvdW50GAIgASgNEhwKFGNob3Nlbl9wcm9jZXNzX3NoYXJkGAMgASgN", [perf_events_pb_1.file_protos_perfetto_common_perf_events, profile_common_pb_1.file_protos_perfetto_trace_profiling_profile_common]);
/**
* Describes the message perfetto.protos.ProfilePacket.
* Use `create(ProfilePacketSchema)` to create a new message.
*/
exports.ProfilePacketSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 0);
/**
* Describes the message perfetto.protos.ProfilePacket.HeapSample.
* Use `create(ProfilePacket_HeapSampleSchema)` to create a new message.
*/
exports.ProfilePacket_HeapSampleSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 0, 0);
/**
* Describes the message perfetto.protos.ProfilePacket.Histogram.
* Use `create(ProfilePacket_HistogramSchema)` to create a new message.
*/
exports.ProfilePacket_HistogramSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 0, 1);
/**
* Describes the message perfetto.protos.ProfilePacket.Histogram.Bucket.
* Use `create(ProfilePacket_Histogram_BucketSchema)` to create a new message.
*/
exports.ProfilePacket_Histogram_BucketSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 0, 1, 0);
/**
* Describes the message perfetto.protos.ProfilePacket.ProcessStats.
* Use `create(ProfilePacket_ProcessStatsSchema)` to create a new message.
*/
exports.ProfilePacket_ProcessStatsSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 0, 2);
/**
* Describes the message perfetto.protos.ProfilePacket.ProcessHeapSamples.
* Use `create(ProfilePacket_ProcessHeapSamplesSchema)` to create a new message.
*/
exports.ProfilePacket_ProcessHeapSamplesSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 0, 3);
/**
* @generated from enum perfetto.protos.ProfilePacket.ProcessHeapSamples.ClientError
*/
var ProfilePacket_ProcessHeapSamples_ClientError;
(function (ProfilePacket_ProcessHeapSamples_ClientError) {
/**
* @generated from enum value: CLIENT_ERROR_NONE = 0;
*/
ProfilePacket_ProcessHeapSamples_ClientError[ProfilePacket_ProcessHeapSamples_ClientError["NONE"] = 0] = "NONE";
/**
* @generated from enum value: CLIENT_ERROR_HIT_TIMEOUT = 1;
*/
ProfilePacket_ProcessHeapSamples_ClientError[ProfilePacket_ProcessHeapSamples_ClientError["HIT_TIMEOUT"] = 1] = "HIT_TIMEOUT";
/**
* @generated from enum value: CLIENT_ERROR_INVALID_STACK_BOUNDS = 2;
*/
ProfilePacket_ProcessHeapSamples_ClientError[ProfilePacket_ProcessHeapSamples_ClientError["INVALID_STACK_BOUNDS"] = 2] = "INVALID_STACK_BOUNDS";
})(ProfilePacket_ProcessHeapSamples_ClientError || (exports.ProfilePacket_ProcessHeapSamples_ClientError = ProfilePacket_ProcessHeapSamples_ClientError = {}));
/**
* Describes the enum perfetto.protos.ProfilePacket.ProcessHeapSamples.ClientError.
*/
exports.ProfilePacket_ProcessHeapSamples_ClientErrorSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 0, 3, 0);
/**
* Describes the message perfetto.protos.StreamingAllocation.
* Use `create(StreamingAllocationSchema)` to create a new message.
*/
exports.StreamingAllocationSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 1);
/**
* Describes the message perfetto.protos.StreamingFree.
* Use `create(StreamingFreeSchema)` to create a new message.
*/
exports.StreamingFreeSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 2);
/**
* Describes the message perfetto.protos.StreamingProfilePacket.
* Use `create(StreamingProfilePacketSchema)` to create a new message.
*/
exports.StreamingProfilePacketSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 3);
/**
* Describes the message perfetto.protos.Profiling.
* Use `create(ProfilingSchema)` to create a new message.
*/
exports.ProfilingSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 4);
/**
* @generated from enum perfetto.protos.Profiling.CpuMode
*/
var Profiling_CpuMode;
(function (Profiling_CpuMode) {
/**
* @generated from enum value: MODE_UNKNOWN = 0;
*/
Profiling_CpuMode[Profiling_CpuMode["MODE_UNKNOWN"] = 0] = "MODE_UNKNOWN";
/**
* @generated from enum value: MODE_KERNEL = 1;
*/
Profiling_CpuMode[Profiling_CpuMode["MODE_KERNEL"] = 1] = "MODE_KERNEL";
/**
* @generated from enum value: MODE_USER = 2;
*/
Profiling_CpuMode[Profiling_CpuMode["MODE_USER"] = 2] = "MODE_USER";
/**
* The following values aren't expected, but included for completeness:
*
* @generated from enum value: MODE_HYPERVISOR = 3;
*/
Profiling_CpuMode[Profiling_CpuMode["MODE_HYPERVISOR"] = 3] = "MODE_HYPERVISOR";
/**
* @generated from enum value: MODE_GUEST_KERNEL = 4;
*/
Profiling_CpuMode[Profiling_CpuMode["MODE_GUEST_KERNEL"] = 4] = "MODE_GUEST_KERNEL";
/**
* @generated from enum value: MODE_GUEST_USER = 5;
*/
Profiling_CpuMode[Profiling_CpuMode["MODE_GUEST_USER"] = 5] = "MODE_GUEST_USER";
})(Profiling_CpuMode || (exports.Profiling_CpuMode = Profiling_CpuMode = {}));
/**
* Describes the enum perfetto.protos.Profiling.CpuMode.
*/
exports.Profiling_CpuModeSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 4, 0);
/**
* Enumeration of libunwindstack's error codes.
* NB: the integral representations of the two enums are different.
*
* @generated from enum perfetto.protos.Profiling.StackUnwindError
*/
var Profiling_StackUnwindError;
(function (Profiling_StackUnwindError) {
/**
* @generated from enum value: UNWIND_ERROR_UNKNOWN = 0;
*/
Profiling_StackUnwindError[Profiling_StackUnwindError["UNWIND_ERROR_UNKNOWN"] = 0] = "UNWIND_ERROR_UNKNOWN";
/**
* @generated from enum value: UNWIND_ERROR_NONE = 1;
*/
Profiling_StackUnwindError[Profiling_StackUnwindError["UNWIND_ERROR_NONE"] = 1] = "UNWIND_ERROR_NONE";
/**
* @generated from enum value: UNWIND_ERROR_MEMORY_INVALID = 2;
*/
Profiling_StackUnwindError[Profiling_StackUnwindError["UNWIND_ERROR_MEMORY_INVALID"] = 2] = "UNWIND_ERROR_MEMORY_INVALID";
/**
* @generated from enum value: UNWIND_ERROR_UNWIND_INFO = 3;
*/
Profiling_StackUnwindError[Profiling_StackUnwindError["UNWIND_ERROR_UNWIND_INFO"] = 3] = "UNWIND_ERROR_UNWIND_INFO";
/**
* @generated from enum value: UNWIND_ERROR_UNSUPPORTED = 4;
*/
Profiling_StackUnwindError[Profiling_StackUnwindError["UNWIND_ERROR_UNSUPPORTED"] = 4] = "UNWIND_ERROR_UNSUPPORTED";
/**
* @generated from enum value: UNWIND_ERROR_INVALID_MAP = 5;
*/
Profiling_StackUnwindError[Profiling_StackUnwindError["UNWIND_ERROR_INVALID_MAP"] = 5] = "UNWIND_ERROR_INVALID_MAP";
/**
* @generated from enum value: UNWIND_ERROR_MAX_FRAMES_EXCEEDED = 6;
*/
Profiling_StackUnwindError[Profiling_StackUnwindError["UNWIND_ERROR_MAX_FRAMES_EXCEEDED"] = 6] = "UNWIND_ERROR_MAX_FRAMES_EXCEEDED";
/**
* @generated from enum value: UNWIND_ERROR_REPEATED_FRAME = 7;
*/
Profiling_StackUnwindError[Profiling_StackUnwindError["UNWIND_ERROR_REPEATED_FRAME"] = 7] = "UNWIND_ERROR_REPEATED_FRAME";
/**
* @generated from enum value: UNWIND_ERROR_INVALID_ELF = 8;
*/
Profiling_StackUnwindError[Profiling_StackUnwindError["UNWIND_ERROR_INVALID_ELF"] = 8] = "UNWIND_ERROR_INVALID_ELF";
/**
* @generated from enum value: UNWIND_ERROR_SYSTEM_CALL = 9;
*/
Profiling_StackUnwindError[Profiling_StackUnwindError["UNWIND_ERROR_SYSTEM_CALL"] = 9] = "UNWIND_ERROR_SYSTEM_CALL";
/**
* @generated from enum value: UNWIND_ERROR_THREAD_TIMEOUT = 10;
*/
Profiling_StackUnwindError[Profiling_StackUnwindError["UNWIND_ERROR_THREAD_TIMEOUT"] = 10] = "UNWIND_ERROR_THREAD_TIMEOUT";
/**
* @generated from enum value: UNWIND_ERROR_THREAD_DOES_NOT_EXIST = 11;
*/
Profiling_StackUnwindError[Profiling_StackUnwindError["UNWIND_ERROR_THREAD_DOES_NOT_EXIST"] = 11] = "UNWIND_ERROR_THREAD_DOES_NOT_EXIST";
/**
* @generated from enum value: UNWIND_ERROR_BAD_ARCH = 12;
*/
Profiling_StackUnwindError[Profiling_StackUnwindError["UNWIND_ERROR_BAD_ARCH"] = 12] = "UNWIND_ERROR_BAD_ARCH";
/**
* @generated from enum value: UNWIND_ERROR_MAPS_PARSE = 13;
*/
Profiling_StackUnwindError[Profiling_StackUnwindError["UNWIND_ERROR_MAPS_PARSE"] = 13] = "UNWIND_ERROR_MAPS_PARSE";
/**
* @generated from enum value: UNWIND_ERROR_INVALID_PARAMETER = 14;
*/
Profiling_StackUnwindError[Profiling_StackUnwindError["UNWIND_ERROR_INVALID_PARAMETER"] = 14] = "UNWIND_ERROR_INVALID_PARAMETER";
/**
* @generated from enum value: UNWIND_ERROR_PTRACE_CALL = 15;
*/
Profiling_StackUnwindError[Profiling_StackUnwindError["UNWIND_ERROR_PTRACE_CALL"] = 15] = "UNWIND_ERROR_PTRACE_CALL";
})(Profiling_StackUnwindError || (exports.Profiling_StackUnwindError = Profiling_StackUnwindError = {}));
/**
* Describes the enum perfetto.protos.Profiling.StackUnwindError.
*/
exports.Profiling_StackUnwindErrorSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 4, 1);
/**
* Describes the message perfetto.protos.PerfSample.
* Use `create(PerfSampleSchema)` to create a new message.
*/
exports.PerfSampleSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 5);
/**
* Describes the message perfetto.protos.PerfSample.ProducerEvent.
* Use `create(PerfSample_ProducerEventSchema)` to create a new message.
*/
exports.PerfSample_ProducerEventSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 5, 0);
/**
* @generated from enum perfetto.protos.PerfSample.ProducerEvent.DataSourceStopReason
*/
var PerfSample_ProducerEvent_DataSourceStopReason;
(function (PerfSample_ProducerEvent_DataSourceStopReason) {
/**
* @generated from enum value: PROFILER_STOP_UNKNOWN = 0;
*/
PerfSample_ProducerEvent_DataSourceStopReason[PerfSample_ProducerEvent_DataSourceStopReason["PROFILER_STOP_UNKNOWN"] = 0] = "PROFILER_STOP_UNKNOWN";
/**
* @generated from enum value: PROFILER_STOP_GUARDRAIL = 1;
*/
PerfSample_ProducerEvent_DataSourceStopReason[PerfSample_ProducerEvent_DataSourceStopReason["PROFILER_STOP_GUARDRAIL"] = 1] = "PROFILER_STOP_GUARDRAIL";
})(PerfSample_ProducerEvent_DataSourceStopReason || (exports.PerfSample_ProducerEvent_DataSourceStopReason = PerfSample_ProducerEvent_DataSourceStopReason = {}));
/**
* Describes the enum perfetto.protos.PerfSample.ProducerEvent.DataSourceStopReason.
*/
exports.PerfSample_ProducerEvent_DataSourceStopReasonSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 5, 0, 0);
/**
* If set, indicates that the profiler encountered a sample that was relevant,
* but was skipped.
*
* @generated from enum perfetto.protos.PerfSample.SampleSkipReason
*/
var PerfSample_SampleSkipReason;
(function (PerfSample_SampleSkipReason) {
/**
* @generated from enum value: PROFILER_SKIP_UNKNOWN = 0;
*/
PerfSample_SampleSkipReason[PerfSample_SampleSkipReason["PROFILER_SKIP_UNKNOWN"] = 0] = "PROFILER_SKIP_UNKNOWN";
/**
* @generated from enum value: PROFILER_SKIP_READ_STAGE = 1;
*/
PerfSample_SampleSkipReason[PerfSample_SampleSkipReason["PROFILER_SKIP_READ_STAGE"] = 1] = "PROFILER_SKIP_READ_STAGE";
/**
* @generated from enum value: PROFILER_SKIP_UNWIND_STAGE = 2;
*/
PerfSample_SampleSkipReason[PerfSample_SampleSkipReason["PROFILER_SKIP_UNWIND_STAGE"] = 2] = "PROFILER_SKIP_UNWIND_STAGE";
/**
* @generated from enum value: PROFILER_SKIP_UNWIND_ENQUEUE = 3;
*/
PerfSample_SampleSkipReason[PerfSample_SampleSkipReason["PROFILER_SKIP_UNWIND_ENQUEUE"] = 3] = "PROFILER_SKIP_UNWIND_ENQUEUE";
})(PerfSample_SampleSkipReason || (exports.PerfSample_SampleSkipReason = PerfSample_SampleSkipReason = {}));
/**
* Describes the enum perfetto.protos.PerfSample.SampleSkipReason.
*/
exports.PerfSample_SampleSkipReasonSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 5, 0);
/**
* Describes the message perfetto.protos.PerfSampleDefaults.
* Use `create(PerfSampleDefaultsSchema)` to create a new message.
*/
exports.PerfSampleDefaultsSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_trace_profiling_profile_packet, 6);
//# sourceMappingURL=profile_packet_pb.js.map