UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

32 lines 1.24 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { ConsoleConfig } from "./interceptors/console_config_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/config/interceptor_config.proto. */ export declare const file_protos_perfetto_config_interceptor_config: GenFile; /** * Configuration for trace packet interception. Used for diverting trace data to * non-Perfetto sources (e.g., logging to the console, ETW) when using the * Perfetto SDK. * * @generated from message perfetto.protos.InterceptorConfig */ export type InterceptorConfig = Message<"perfetto.protos.InterceptorConfig"> & { /** * Matches the name given to RegisterInterceptor(). * * @generated from field: optional string name = 1; */ name: string; /** * @generated from field: optional perfetto.protos.ConsoleConfig console_config = 100; */ consoleConfig?: ConsoleConfig; }; /** * Describes the message perfetto.protos.InterceptorConfig. * Use `create(InterceptorConfigSchema)` to create a new message. */ export declare const InterceptorConfigSchema: GenMessage<InterceptorConfig>; //# sourceMappingURL=interceptor_config_pb.d.ts.map