perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
62 lines (54 loc) • 2.38 kB
text/typescript
//
// Copyright (C) 2024 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/config/chrome/v8_config.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 { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/config/chrome/v8_config.proto.
*/
export const file_protos_perfetto_config_chrome_v8_config: GenFile = /*@__PURE__*/
fileDesc("Ci1wcm90b3MvcGVyZmV0dG8vY29uZmlnL2Nocm9tZS92OF9jb25maWcucHJvdG8SD3BlcmZldHRvLnByb3RvcyJACghWOENvbmZpZxIaChJsb2dfc2NyaXB0X3NvdXJjZXMYASABKAgSGAoQbG9nX2luc3RydWN0aW9ucxgCIAEoCA");
/**
* @generated from message perfetto.protos.V8Config
*/
export type V8Config = Message<"perfetto.protos.V8Config"> & {
/**
* Whether to log the actual content of scripts (e.g. content of the JS file
* that was compiled to generate code).
* ATTENTION: This could considerably increase the size of the resuling trace
* file.
*
* @generated from field: optional bool log_script_sources = 1;
*/
logScriptSources: boolean;
/**
* Whether to log the generated code for jitted functions (machine code or
* bytecode).
* ATTENTION: This could considerably increase the size of the resuling trace
* file.
*
* @generated from field: optional bool log_instructions = 2;
*/
logInstructions: boolean;
};
/**
* Describes the message perfetto.protos.V8Config.
* Use `create(V8ConfigSchema)` to create a new message.
*/
export const V8ConfigSchema: GenMessage<V8Config> = /*@__PURE__*/
messageDesc(file_protos_perfetto_config_chrome_v8_config, 0);