UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

48 lines 2.19 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { ObservableEvents_Type } from "./observable_events_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/common/tracing_service_capabilities.proto. */ export declare const file_protos_perfetto_common_tracing_service_capabilities: GenFile; /** * @generated from message perfetto.protos.TracingServiceCapabilities */ export type TracingServiceCapabilities = Message<"perfetto.protos.TracingServiceCapabilities"> & { /** * Whether the service supports QueryCapabilities() at all or not. * This is only used at the C++ level to distinguish the case of talking to * an older version of the service that doesn't support QueryCapabilities(). * In that case the IPC layer will just reject the unknown call, and the * consumer_ipc_client_impl.cc will return an empty message where this field * is false. In all other cases, this is always set to true. * * @generated from field: optional bool has_query_capabilities = 1; */ hasQueryCapabilities: boolean; /** * The set of known events that can be passed to ConsumerPort.ObserveEvents(). * * @generated from field: repeated perfetto.protos.ObservableEvents.Type observable_events = 2; */ observableEvents: ObservableEvents_Type[]; /** * Whether the service supports TraceConfig.output_path (for asking traced to * create the output file instead of passing a file descriptor). * * @generated from field: optional bool has_trace_config_output_path = 3; */ hasTraceConfigOutputPath: boolean; /** * Whether the service supports CloneSession and CLONE_SNAPSHOT triggers. * * @generated from field: optional bool has_clone_session = 4; */ hasCloneSession: boolean; }; /** * Describes the message perfetto.protos.TracingServiceCapabilities. * Use `create(TracingServiceCapabilitiesSchema)` to create a new message. */ export declare const TracingServiceCapabilitiesSchema: GenMessage<TracingServiceCapabilities>; //# sourceMappingURL=tracing_service_capabilities_pb.d.ts.map