perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
92 lines • 3.71 kB
TypeScript
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import type { TraceStats } from "../../common/trace_stats_pb";
import type { TraceConfig } from "../../config/trace_config_pb";
import type { ChromeEventBundle } from "./chrome_trace_event_pb";
import type { ChromeTrigger } from "./chrome_trigger_pb";
import type { ClockSnapshot } from "../clock_snapshot_pb";
import type { InternedData } from "../interned_data/interned_data_pb";
import type { StreamingProfilePacket } from "../profiling/profile_packet_pb";
import type { ProfiledFrameSymbols } from "../profiling/profile_common_pb";
import type { ProcessDescriptor } from "../track_event/process_descriptor_pb";
import type { ThreadDescriptor } from "../track_event/thread_descriptor_pb";
import type { TrackEvent } from "../track_event/track_event_pb";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/trace/chrome/chrome_trace_packet.proto.
*/
export declare const file_protos_perfetto_trace_chrome_chrome_trace_packet: GenFile;
/**
* This proto contains only the TracePacket fields that Chrome needs.
* Note that the field ids here must be kept in sync with TracePacket.
* This protobuf is here to avoid bloating the Chrome binary with symbols
* for all possible trace protos.
* TODO(b/78898755): Try using weak bindings instead of a separate proto.
*
* @generated from message perfetto.protos.ChromeTracePacket
*/
export type ChromeTracePacket = Message<"perfetto.protos.ChromeTracePacket"> & {
/**
* @generated from field: perfetto.protos.ChromeEventBundle chrome_events = 5;
*/
chromeEvents?: ChromeEventBundle;
/**
* @generated from field: perfetto.protos.ClockSnapshot clock_snapshot = 6;
*/
clockSnapshot?: ClockSnapshot;
/**
* @generated from field: perfetto.protos.TrackEvent track_event = 11;
*/
trackEvent?: TrackEvent;
/**
* @generated from field: perfetto.protos.ProcessDescriptor process_descriptor = 43;
*/
processDescriptor?: ProcessDescriptor;
/**
* @generated from field: perfetto.protos.ThreadDescriptor thread_descriptor = 44;
*/
threadDescriptor?: ThreadDescriptor;
/**
* @generated from field: perfetto.protos.StreamingProfilePacket streaming_profile_packet = 54;
*/
streamingProfilePacket?: StreamingProfilePacket;
/**
* @generated from field: perfetto.protos.ProfiledFrameSymbols profiled_frame_symbols = 55;
*/
profiledFrameSymbols?: ProfiledFrameSymbols;
/**
* @generated from field: perfetto.protos.ChromeTrigger chrome_trigger = 109;
*/
chromeTrigger?: ChromeTrigger;
/**
* The original trace config.
*
* @generated from field: perfetto.protos.TraceConfig trace_config = 33;
*/
traceConfig?: TraceConfig;
/**
* @generated from field: perfetto.protos.TraceStats trace_stats = 35;
*/
traceStats?: TraceStats;
/**
* @generated from field: uint32 trusted_packet_sequence_id = 10;
*/
trustedPacketSequenceId: number;
/**
* @generated from field: perfetto.protos.InternedData interned_data = 12;
*/
internedData?: InternedData;
/**
* @generated from field: bool incremental_state_cleared = 41;
*/
incrementalStateCleared: boolean;
/**
* @generated from field: bool previous_packet_dropped = 42;
*/
previousPacketDropped: boolean;
};
/**
* Describes the message perfetto.protos.ChromeTracePacket.
* Use `create(ChromeTracePacketSchema)` to create a new message.
*/
export declare const ChromeTracePacketSchema: GenMessage<ChromeTracePacket>;
//# sourceMappingURL=chrome_trace_packet_pb.d.ts.map