UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

177 lines 6.44 kB
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/trace/translation/translation_table.proto. */ export declare const file_protos_perfetto_trace_translation_translation_table: GenFile; /** * Translation rules for the trace processor. * See the comments for each rule type for specific meaning. * * @generated from message perfetto.protos.TranslationTable */ export type TranslationTable = Message<"perfetto.protos.TranslationTable"> & { /** * @generated from oneof perfetto.protos.TranslationTable.table */ table: { /** * @generated from field: perfetto.protos.ChromeHistorgramTranslationTable chrome_histogram = 1; */ value: ChromeHistorgramTranslationTable; case: "chromeHistogram"; } | { /** * @generated from field: perfetto.protos.ChromeUserEventTranslationTable chrome_user_event = 2; */ value: ChromeUserEventTranslationTable; case: "chromeUserEvent"; } | { /** * @generated from field: perfetto.protos.ChromePerformanceMarkTranslationTable chrome_performance_mark = 3; */ value: ChromePerformanceMarkTranslationTable; case: "chromePerformanceMark"; } | { /** * @generated from field: perfetto.protos.SliceNameTranslationTable slice_name = 4; */ value: SliceNameTranslationTable; case: "sliceName"; } | { /** * @generated from field: perfetto.protos.ProcessTrackNameTranslationTable process_track_name = 5; */ value: ProcessTrackNameTranslationTable; case: "processTrackName"; } | { /** * @generated from field: perfetto.protos.ChromeStudyTranslationTable chrome_study = 6; */ value: ChromeStudyTranslationTable; case: "chromeStudy"; } | { case: undefined; value?: undefined; }; }; /** * Describes the message perfetto.protos.TranslationTable. * Use `create(TranslationTableSchema)` to create a new message. */ export declare const TranslationTableSchema: GenMessage<TranslationTable>; /** * Chrome histogram sample hash -> name translation rules. * * @generated from message perfetto.protos.ChromeHistorgramTranslationTable */ export type ChromeHistorgramTranslationTable = Message<"perfetto.protos.ChromeHistorgramTranslationTable"> & { /** * @generated from field: map<uint64, string> hash_to_name = 1; */ hashToName: { [key: string]: string; }; }; /** * Describes the message perfetto.protos.ChromeHistorgramTranslationTable. * Use `create(ChromeHistorgramTranslationTableSchema)` to create a new message. */ export declare const ChromeHistorgramTranslationTableSchema: GenMessage<ChromeHistorgramTranslationTable>; /** * Chrome user event action hash -> name translation rules. * * @generated from message perfetto.protos.ChromeUserEventTranslationTable */ export type ChromeUserEventTranslationTable = Message<"perfetto.protos.ChromeUserEventTranslationTable"> & { /** * @generated from field: map<uint64, string> action_hash_to_name = 1; */ actionHashToName: { [key: string]: string; }; }; /** * Describes the message perfetto.protos.ChromeUserEventTranslationTable. * Use `create(ChromeUserEventTranslationTableSchema)` to create a new message. */ export declare const ChromeUserEventTranslationTableSchema: GenMessage<ChromeUserEventTranslationTable>; /** * Chrome performance mark translation rules. * * @generated from message perfetto.protos.ChromePerformanceMarkTranslationTable */ export type ChromePerformanceMarkTranslationTable = Message<"perfetto.protos.ChromePerformanceMarkTranslationTable"> & { /** * @generated from field: map<uint32, string> site_hash_to_name = 1; */ siteHashToName: { [key: number]: string; }; /** * @generated from field: map<uint32, string> mark_hash_to_name = 2; */ markHashToName: { [key: number]: string; }; }; /** * Describes the message perfetto.protos.ChromePerformanceMarkTranslationTable. * Use `create(ChromePerformanceMarkTranslationTableSchema)` to create a new message. */ export declare const ChromePerformanceMarkTranslationTableSchema: GenMessage<ChromePerformanceMarkTranslationTable>; /** * Raw -> deobfuscated slice name translation rules. * * @generated from message perfetto.protos.SliceNameTranslationTable */ export type SliceNameTranslationTable = Message<"perfetto.protos.SliceNameTranslationTable"> & { /** * @generated from field: map<string, string> raw_to_deobfuscated_name = 1; */ rawToDeobfuscatedName: { [key: string]: string; }; }; /** * Describes the message perfetto.protos.SliceNameTranslationTable. * Use `create(SliceNameTranslationTableSchema)` to create a new message. */ export declare const SliceNameTranslationTableSchema: GenMessage<SliceNameTranslationTable>; /** * Raw -> deobfuscated process track name translation rules. * * @generated from message perfetto.protos.ProcessTrackNameTranslationTable */ export type ProcessTrackNameTranslationTable = Message<"perfetto.protos.ProcessTrackNameTranslationTable"> & { /** * @generated from field: map<string, string> raw_to_deobfuscated_name = 1; */ rawToDeobfuscatedName: { [key: string]: string; }; }; /** * Describes the message perfetto.protos.ProcessTrackNameTranslationTable. * Use `create(ProcessTrackNameTranslationTableSchema)` to create a new message. */ export declare const ProcessTrackNameTranslationTableSchema: GenMessage<ProcessTrackNameTranslationTable>; /** * Chrome study hash -> name translation rules. * * @generated from message perfetto.protos.ChromeStudyTranslationTable */ export type ChromeStudyTranslationTable = Message<"perfetto.protos.ChromeStudyTranslationTable"> & { /** * @generated from field: map<uint64, string> hash_to_name = 1; */ hashToName: { [key: string]: string; }; }; /** * Describes the message perfetto.protos.ChromeStudyTranslationTable. * Use `create(ChromeStudyTranslationTableSchema)` to create a new message. */ export declare const ChromeStudyTranslationTableSchema: GenMessage<ChromeStudyTranslationTable>; //# sourceMappingURL=translation_table_pb.d.ts.map