Source file src/runtime/pprof/defs_darwin_arm64.go

     1  // Code generated by cmd/cgo -godefs; DO NOT EDIT.
     2  // cgo -godefs defs_darwin.go
     3  
     4  package pprof
     5  
     6  type machVMRegionBasicInfoData struct {
     7  	Protection       int32
     8  	Max_protection   int32
     9  	Inheritance      uint32
    10  	Shared           int32
    11  	Reserved         int32
    12  	Offset           [8]byte // This is hand-edited since godefs generates: Pad_cgo_0 [8]byte. Cannot use uint64 due to alignment.
    13  	Behavior         int32
    14  	User_wired_count uint16
    15  	Pad_cgo_1        [2]byte
    16  }
    17  
    18  const (
    19  	_VM_PROT_READ    = 0x1
    20  	_VM_PROT_WRITE   = 0x2
    21  	_VM_PROT_EXECUTE = 0x4
    22  
    23  	_MACH_SEND_INVALID_DEST = 0x10000003
    24  
    25  	_MAXPATHLEN = 0x400
    26  )
    27  

View as plain text