github.com/lovishpuri/go-40569/src@v0.0.0-20230519171745-f8623e7c56cf/runtime/pagetrace_off.go (about)

     1  // Copyright 2022 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build !goexperiment.pagetrace
     6  
     7  package runtime
     8  
     9  //go:systemstack
    10  func pageTraceAlloc(pp *p, now int64, base, npages uintptr) {
    11  }
    12  
    13  //go:systemstack
    14  func pageTraceFree(pp *p, now int64, base, npages uintptr) {
    15  }
    16  
    17  //go:systemstack
    18  func pageTraceScav(pp *p, now int64, base, npages uintptr) {
    19  }
    20  
    21  type pageTraceBuf struct {
    22  }
    23  
    24  func initPageTrace(env string) {
    25  }
    26  
    27  func finishPageTrace() {
    28  }