// Autogenerated by:
// ../../src/tools/ftrace_proto_gen/ftrace_proto_gen.cc
// Do not edit.

// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
// @generated from file protos/perfetto/trace/ftrace/fastrpc.proto (package perfetto.protos, syntax proto2)
/* eslint-disable */

import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file protos/perfetto/trace/ftrace/fastrpc.proto.
 */
export const file_protos_perfetto_trace_ftrace_fastrpc: GenFile = /*@__PURE__*/
  fileDesc("Cipwcm90b3MvcGVyZmV0dG8vdHJhY2UvZnRyYWNlL2Zhc3RycGMucHJvdG8SD3BlcmZldHRvLnByb3RvcyJOChlGYXN0cnBjRG1hU3RhdEZ0cmFjZUV2ZW50EgsKA2NpZBgBIAEoBRILCgNsZW4YAiABKAMSFwoPdG90YWxfYWxsb2NhdGVkGAMgASgEIkQKGUZhc3RycGNEbWFGcmVlRnRyYWNlRXZlbnQSCwoDY2lkGAEgASgFEgwKBHBoeXMYAiABKAQSDAoEc2l6ZRgDIAEoBCJjChpGYXN0cnBjRG1hQWxsb2NGdHJhY2VFdmVudBILCgNjaWQYASABKAUSDAoEcGh5cxgCIAEoBBIMCgRzaXplGAMgASgEEgwKBGF0dHIYBCABKAQSDgoGbWZsYWdzGAUgASgFIkUKGkZhc3RycGNEbWFVbm1hcEZ0cmFjZUV2ZW50EgsKA2NpZBgBIAEoBRIMCgRwaHlzGAIgASgEEgwKBHNpemUYAyABKAQiegoYRmFzdHJwY0RtYU1hcEZ0cmFjZUV2ZW50EgsKA2NpZBgBIAEoBRIKCgJmZBgCIAEoBRIMCgRwaHlzGAMgASgEEgwKBHNpemUYBCABKAQSCwoDbGVuGAUgASgEEgwKBGF0dHIYBiABKA0SDgoGbWZsYWdzGAcgASgF");

/**
 * @generated from message perfetto.protos.FastrpcDmaStatFtraceEvent
 */
export type FastrpcDmaStatFtraceEvent = Message<"perfetto.protos.FastrpcDmaStatFtraceEvent"> & {
  /**
   * @generated from field: optional int32 cid = 1;
   */
  cid: number;

  /**
   * @generated from field: optional int64 len = 2;
   */
  len: bigint;

  /**
   * @generated from field: optional uint64 total_allocated = 3;
   */
  totalAllocated: bigint;
};

/**
 * Describes the message perfetto.protos.FastrpcDmaStatFtraceEvent.
 * Use `create(FastrpcDmaStatFtraceEventSchema)` to create a new message.
 */
export const FastrpcDmaStatFtraceEventSchema: GenMessage<FastrpcDmaStatFtraceEvent> = /*@__PURE__*/
  messageDesc(file_protos_perfetto_trace_ftrace_fastrpc, 0);

/**
 * @generated from message perfetto.protos.FastrpcDmaFreeFtraceEvent
 */
export type FastrpcDmaFreeFtraceEvent = Message<"perfetto.protos.FastrpcDmaFreeFtraceEvent"> & {
  /**
   * @generated from field: optional int32 cid = 1;
   */
  cid: number;

  /**
   * @generated from field: optional uint64 phys = 2;
   */
  phys: bigint;

  /**
   * @generated from field: optional uint64 size = 3;
   */
  size: bigint;
};

/**
 * Describes the message perfetto.protos.FastrpcDmaFreeFtraceEvent.
 * Use `create(FastrpcDmaFreeFtraceEventSchema)` to create a new message.
 */
export const FastrpcDmaFreeFtraceEventSchema: GenMessage<FastrpcDmaFreeFtraceEvent> = /*@__PURE__*/
  messageDesc(file_protos_perfetto_trace_ftrace_fastrpc, 1);

/**
 * @generated from message perfetto.protos.FastrpcDmaAllocFtraceEvent
 */
export type FastrpcDmaAllocFtraceEvent = Message<"perfetto.protos.FastrpcDmaAllocFtraceEvent"> & {
  /**
   * @generated from field: optional int32 cid = 1;
   */
  cid: number;

  /**
   * @generated from field: optional uint64 phys = 2;
   */
  phys: bigint;

  /**
   * @generated from field: optional uint64 size = 3;
   */
  size: bigint;

  /**
   * @generated from field: optional uint64 attr = 4;
   */
  attr: bigint;

  /**
   * @generated from field: optional int32 mflags = 5;
   */
  mflags: number;
};

/**
 * Describes the message perfetto.protos.FastrpcDmaAllocFtraceEvent.
 * Use `create(FastrpcDmaAllocFtraceEventSchema)` to create a new message.
 */
export const FastrpcDmaAllocFtraceEventSchema: GenMessage<FastrpcDmaAllocFtraceEvent> = /*@__PURE__*/
  messageDesc(file_protos_perfetto_trace_ftrace_fastrpc, 2);

/**
 * @generated from message perfetto.protos.FastrpcDmaUnmapFtraceEvent
 */
export type FastrpcDmaUnmapFtraceEvent = Message<"perfetto.protos.FastrpcDmaUnmapFtraceEvent"> & {
  /**
   * @generated from field: optional int32 cid = 1;
   */
  cid: number;

  /**
   * @generated from field: optional uint64 phys = 2;
   */
  phys: bigint;

  /**
   * @generated from field: optional uint64 size = 3;
   */
  size: bigint;
};

/**
 * Describes the message perfetto.protos.FastrpcDmaUnmapFtraceEvent.
 * Use `create(FastrpcDmaUnmapFtraceEventSchema)` to create a new message.
 */
export const FastrpcDmaUnmapFtraceEventSchema: GenMessage<FastrpcDmaUnmapFtraceEvent> = /*@__PURE__*/
  messageDesc(file_protos_perfetto_trace_ftrace_fastrpc, 3);

/**
 * @generated from message perfetto.protos.FastrpcDmaMapFtraceEvent
 */
export type FastrpcDmaMapFtraceEvent = Message<"perfetto.protos.FastrpcDmaMapFtraceEvent"> & {
  /**
   * @generated from field: optional int32 cid = 1;
   */
  cid: number;

  /**
   * @generated from field: optional int32 fd = 2;
   */
  fd: number;

  /**
   * @generated from field: optional uint64 phys = 3;
   */
  phys: bigint;

  /**
   * @generated from field: optional uint64 size = 4;
   */
  size: bigint;

  /**
   * @generated from field: optional uint64 len = 5;
   */
  len: bigint;

  /**
   * @generated from field: optional uint32 attr = 6;
   */
  attr: number;

  /**
   * @generated from field: optional int32 mflags = 7;
   */
  mflags: number;
};

/**
 * Describes the message perfetto.protos.FastrpcDmaMapFtraceEvent.
 * Use `create(FastrpcDmaMapFtraceEventSchema)` to create a new message.
 */
export const FastrpcDmaMapFtraceEventSchema: GenMessage<FastrpcDmaMapFtraceEvent> = /*@__PURE__*/
  messageDesc(file_protos_perfetto_trace_ftrace_fastrpc, 4);

