perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
60 lines • 2.05 kB
TypeScript
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/trace/track_event/source_location.proto.
*/
export declare const file_protos_perfetto_trace_track_event_source_location: GenFile;
/**
* A source location, represented as a native symbol.
* This is similar to `message Frame` from
* protos/perfetto/trace/profiling/profile_common.proto, but for abitrary
* source code locations (for example in track event args), not stack frames.
*
* @generated from message perfetto.protos.UnsymbolizedSourceLocation
*/
export type UnsymbolizedSourceLocation = Message<"perfetto.protos.UnsymbolizedSourceLocation"> & {
/**
* @generated from field: optional uint64 iid = 1;
*/
iid: bigint;
/**
* @generated from field: optional uint64 mapping_id = 2;
*/
mappingId: bigint;
/**
* @generated from field: optional uint64 rel_pc = 3;
*/
relPc: bigint;
};
/**
* Describes the message perfetto.protos.UnsymbolizedSourceLocation.
* Use `create(UnsymbolizedSourceLocationSchema)` to create a new message.
*/
export declare const UnsymbolizedSourceLocationSchema: GenMessage<UnsymbolizedSourceLocation>;
/**
* @generated from message perfetto.protos.SourceLocation
*/
export type SourceLocation = Message<"perfetto.protos.SourceLocation"> & {
/**
* @generated from field: optional uint64 iid = 1;
*/
iid: bigint;
/**
* @generated from field: optional string file_name = 2;
*/
fileName: string;
/**
* @generated from field: optional string function_name = 3;
*/
functionName: string;
/**
* @generated from field: optional uint32 line_number = 4;
*/
lineNumber: number;
};
/**
* Describes the message perfetto.protos.SourceLocation.
* Use `create(SourceLocationSchema)` to create a new message.
*/
export declare const SourceLocationSchema: GenMessage<SourceLocation>;
//# sourceMappingURL=source_location_pb.d.ts.map