UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

49 lines 2.41 kB
"use strict"; // // Copyright (C) 2023 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.EtwConfig_KernelFlagSchema = exports.EtwConfig_KernelFlag = exports.EtwConfigSchema = exports.file_protos_perfetto_config_etw_etw_config = void 0; const codegenv1_1 = require("@bufbuild/protobuf/codegenv1"); /** * Describes the file protos/perfetto/config/etw/etw_config.proto. */ exports.file_protos_perfetto_config_etw_etw_config = (0, codegenv1_1.fileDesc)("Citwcm90b3MvcGVyZmV0dG8vY29uZmlnL2V0dy9ldHdfY29uZmlnLnByb3RvEg9wZXJmZXR0by5wcm90b3MicwoJRXR3Q29uZmlnEjsKDGtlcm5lbF9mbGFncxgBIAMoDjIlLnBlcmZldHRvLnByb3Rvcy5FdHdDb25maWcuS2VybmVsRmxhZyIpCgpLZXJuZWxGbGFnEgsKB0NTV0lUQ0gQABIOCgpESVNQQVRDSEVSEAE"); /** * Describes the message perfetto.protos.EtwConfig. * Use `create(EtwConfigSchema)` to create a new message. */ exports.EtwConfigSchema = (0, codegenv1_1.messageDesc)(exports.file_protos_perfetto_config_etw_etw_config, 0); /** * The KernelFlag represent list of kernel flags that we are intrested in. * To get a more extensive list run 'xperf -providers k'. * * @generated from enum perfetto.protos.EtwConfig.KernelFlag */ var EtwConfig_KernelFlag; (function (EtwConfig_KernelFlag) { /** * @generated from enum value: CSWITCH = 0; */ EtwConfig_KernelFlag[EtwConfig_KernelFlag["CSWITCH"] = 0] = "CSWITCH"; /** * @generated from enum value: DISPATCHER = 1; */ EtwConfig_KernelFlag[EtwConfig_KernelFlag["DISPATCHER"] = 1] = "DISPATCHER"; })(EtwConfig_KernelFlag || (exports.EtwConfig_KernelFlag = EtwConfig_KernelFlag = {})); /** * Describes the enum perfetto.protos.EtwConfig.KernelFlag. */ exports.EtwConfig_KernelFlagSchema = (0, codegenv1_1.enumDesc)(exports.file_protos_perfetto_config_etw_etw_config, 0, 0); //# sourceMappingURL=etw_config_pb.js.map