perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
86 lines • 2.65 kB
TypeScript
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/trace/filesystem/inode_file_map.proto.
*/
export declare const file_protos_perfetto_trace_filesystem_inode_file_map: GenFile;
/**
* Represents the mapping between inode numbers in a block device and their path
* on the filesystem
*
* @generated from message perfetto.protos.InodeFileMap
*/
export type InodeFileMap = Message<"perfetto.protos.InodeFileMap"> & {
/**
* @generated from field: optional uint64 block_device_id = 1;
*/
blockDeviceId: bigint;
/**
* The mount points of the block device, e.g. ["system"].
*
* @generated from field: repeated string mount_points = 2;
*/
mountPoints: string[];
/**
* The list of all the entries from the block device
*
* @generated from field: repeated perfetto.protos.InodeFileMap.Entry entries = 3;
*/
entries: InodeFileMap_Entry[];
};
/**
* Describes the message perfetto.protos.InodeFileMap.
* Use `create(InodeFileMapSchema)` to create a new message.
*/
export declare const InodeFileMapSchema: GenMessage<InodeFileMap>;
/**
* Representation of Entry
*
* @generated from message perfetto.protos.InodeFileMap.Entry
*/
export type InodeFileMap_Entry = Message<"perfetto.protos.InodeFileMap.Entry"> & {
/**
* @generated from field: optional uint64 inode_number = 1;
*/
inodeNumber: bigint;
/**
* The path to the file, e.g. "etc/file.xml"
* List of strings for multiple hardlinks
*
* @generated from field: repeated string paths = 2;
*/
paths: string[];
/**
* @generated from field: optional perfetto.protos.InodeFileMap.Entry.Type type = 3;
*/
type: InodeFileMap_Entry_Type;
};
/**
* Describes the message perfetto.protos.InodeFileMap.Entry.
* Use `create(InodeFileMap_EntrySchema)` to create a new message.
*/
export declare const InodeFileMap_EntrySchema: GenMessage<InodeFileMap_Entry>;
/**
* The file type
*
* @generated from enum perfetto.protos.InodeFileMap.Entry.Type
*/
export declare enum InodeFileMap_Entry_Type {
/**
* @generated from enum value: UNKNOWN = 0;
*/
UNKNOWN = 0,
/**
* @generated from enum value: FILE = 1;
*/
FILE = 1,
/**
* @generated from enum value: DIRECTORY = 2;
*/
DIRECTORY = 2
}
/**
* Describes the enum perfetto.protos.InodeFileMap.Entry.Type.
*/
export declare const InodeFileMap_Entry_TypeSchema: GenEnum<InodeFileMap_Entry_Type>;
//# sourceMappingURL=inode_file_map_pb.d.ts.map