UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

74 lines 5.18 kB
"use strict"; // // 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. Object.defineProperty(exports, "__esModule", { value: true }); exports.PerfEventConfig_UnwindModeSchema = exports.PerfEventConfig_UnwindMode = exports.PerfEventConfig_ScopeSchema = exports.PerfEventConfig_CallstackSamplingSchema = exports.PerfEventConfigSchema = exports.file_protos_perfetto_config_profiling_perf_event_config = void 0; const codegenv1_1 = require("@bufbuild/protobuf/codegenv1"); const perf_events_pb_1 = require("../../common/perf_events_pb"); /** * Describes the file protos/perfetto/config/profiling/perf_event_config.proto. */ exports.file_protos_perfetto_config_profiling_perf_event_config = (0, codegenv1_1.fileDesc)("Cjhwcm90b3MvcGVyZmV0dG8vY29uZmlnL3Byb2ZpbGluZy9wZXJmX2V2ZW50X2NvbmZpZy5wcm90bxIPcGVyZmV0dG8ucHJvdG9zIqQICg9QZXJmRXZlbnRDb25maWcSNgoIdGltZWJhc2UYDyABKAsyJC5wZXJmZXR0by5wcm90b3MuUGVyZkV2ZW50cy5UaW1lYmFzZRIxCglmb2xsb3dlcnMYEyADKAsyHi5wZXJmZXR0by5wcm90b3MuRm9sbG93ZXJFdmVudBJOChJjYWxsc3RhY2tfc2FtcGxpbmcYECABKAsyMi5wZXJmZXR0by5wcm90b3MuUGVyZkV2ZW50Q29uZmlnLkNhbGxzdGFja1NhbXBsaW5nEiIKGnJpbmdfYnVmZmVyX3JlYWRfcGVyaW9kX21zGAggASgNEhkKEXJpbmdfYnVmZmVyX3BhZ2VzGAMgASgNEiEKGW1heF9lbnF1ZXVlZF9mb290cHJpbnRfa2IYESABKAQSHAoUbWF4X2RhZW1vbl9tZW1vcnlfa2IYDSABKA0SJAoccmVtb3RlX2Rlc2NyaXB0b3JfdGltZW91dF9tcxgJIAEoDRIkChx1bndpbmRfc3RhdGVfY2xlYXJfcGVyaW9kX21zGAogASgNEhsKE3RhcmdldF9pbnN0YWxsZWRfYnkYEiADKAkSEAoIYWxsX2NwdXMYASABKAgSGgoSc2FtcGxpbmdfZnJlcXVlbmN5GAIgASgNEhUKDWtlcm5lbF9mcmFtZXMYDCABKAgSEgoKdGFyZ2V0X3BpZBgEIAMoBRIWCg50YXJnZXRfY21kbGluZRgFIAMoCRITCgtleGNsdWRlX3BpZBgGIAMoBRIXCg9leGNsdWRlX2NtZGxpbmUYByADKAkSIAoYYWRkaXRpb25hbF9jbWRsaW5lX2NvdW50GAsgASgNGqMBChFDYWxsc3RhY2tTYW1wbGluZxI1CgVzY29wZRgBIAEoCzImLnBlcmZldHRvLnByb3Rvcy5QZXJmRXZlbnRDb25maWcuU2NvcGUSFQoNa2VybmVsX2ZyYW1lcxgCIAEoCBJACgt1c2VyX2ZyYW1lcxgDIAEoDjIrLnBlcmZldHRvLnByb3Rvcy5QZXJmRXZlbnRDb25maWcuVW53aW5kTW9kZRqgAQoFU2NvcGUSEgoKdGFyZ2V0X3BpZBgBIAMoBRIWCg50YXJnZXRfY21kbGluZRgCIAMoCRITCgtleGNsdWRlX3BpZBgDIAMoBRIXCg9leGNsdWRlX2NtZGxpbmUYBCADKAkSIAoYYWRkaXRpb25hbF9jbWRsaW5lX2NvdW50GAUgASgNEhsKE3Byb2Nlc3Nfc2hhcmRfY291bnQYBiABKA0iXQoKVW53aW5kTW9kZRISCg5VTldJTkRfVU5LTk9XThAAEg8KC1VOV0lORF9TS0lQEAESEAoMVU5XSU5EX0RXQVJGEAISGAoUVU5XSU5EX0ZSQU1FX1BPSU5URVIQA0oECA4QDw", [perf_events_pb_1.file_protos_perfetto_common_perf_events]); /** * Describes the message perfetto.protos.PerfEventConfig. * Use `create(PerfEventConfigSchema)` to create a new message. */ exports.PerfEventConfigSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_config_profiling_perf_event_config, 0); /** * Describes the message perfetto.protos.PerfEventConfig.CallstackSampling. * Use `create(PerfEventConfig_CallstackSamplingSchema)` to create a new message. */ exports.PerfEventConfig_CallstackSamplingSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_config_profiling_perf_event_config, 0, 0); /** * Describes the message perfetto.protos.PerfEventConfig.Scope. * Use `create(PerfEventConfig_ScopeSchema)` to create a new message. */ exports.PerfEventConfig_ScopeSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_config_profiling_perf_event_config, 0, 1); /** * Userspace unwinding mode. A possible future addition is kernel-unwound * callchains for frame pointer based systems. * * @generated from enum perfetto.protos.PerfEventConfig.UnwindMode */ var PerfEventConfig_UnwindMode; (function (PerfEventConfig_UnwindMode) { /** * @generated from enum value: UNWIND_UNKNOWN = 0; */ PerfEventConfig_UnwindMode[PerfEventConfig_UnwindMode["UNWIND_UNKNOWN"] = 0] = "UNWIND_UNKNOWN"; /** * Do not unwind userspace: * * @generated from enum value: UNWIND_SKIP = 1; */ PerfEventConfig_UnwindMode[PerfEventConfig_UnwindMode["UNWIND_SKIP"] = 1] = "UNWIND_SKIP"; /** * Use libunwindstack (default): * * @generated from enum value: UNWIND_DWARF = 2; */ PerfEventConfig_UnwindMode[PerfEventConfig_UnwindMode["UNWIND_DWARF"] = 2] = "UNWIND_DWARF"; /** * Use userspace frame pointer unwinder: * * @generated from enum value: UNWIND_FRAME_POINTER = 3; */ PerfEventConfig_UnwindMode[PerfEventConfig_UnwindMode["UNWIND_FRAME_POINTER"] = 3] = "UNWIND_FRAME_POINTER"; })(PerfEventConfig_UnwindMode || (exports.PerfEventConfig_UnwindMode = PerfEventConfig_UnwindMode = {})); /** * Describes the enum perfetto.protos.PerfEventConfig.UnwindMode. */ exports.PerfEventConfig_UnwindModeSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_config_profiling_perf_event_config, 0, 0); //# sourceMappingURL=perf_event_config_pb.js.map