$34 GRAYBYTE WORDPRESS FILE MANAGER $75

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/lib/golang/src/runtime/pprof/

HOME
Current File : /lib/golang/src/runtime/pprof//runtime.go
// Copyright 2017 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package pprof

import (
	"context"
	"runtime"
	"unsafe"
)

// runtime_FrameStartLine is defined in runtime/symtab.go.
//
//go:noescape
func runtime_FrameStartLine(f *runtime.Frame) int

// runtime_FrameSymbolName is defined in runtime/symtab.go.
//
//go:noescape
func runtime_FrameSymbolName(f *runtime.Frame) string

// runtime_expandFinalInlineFrame is defined in runtime/symtab.go.
func runtime_expandFinalInlineFrame(stk []uintptr) []uintptr

// runtime_setProfLabel is defined in runtime/proflabel.go.
func runtime_setProfLabel(labels unsafe.Pointer)

// runtime_getProfLabel is defined in runtime/proflabel.go.
func runtime_getProfLabel() unsafe.Pointer

// SetGoroutineLabels sets the current goroutine's labels to match ctx.
// A new goroutine inherits the labels of the goroutine that created it.
// This is a lower-level API than [Do], which should be used instead when possible.
func SetGoroutineLabels(ctx context.Context) {
	ctxLabels, _ := ctx.Value(labelContextKey{}).(*labelMap)
	runtime_setProfLabel(unsafe.Pointer(ctxLabels))
}

// Do calls f with a copy of the parent context with the
// given labels added to the parent's label map.
// Goroutines spawned while executing f will inherit the augmented label-set.
// Each key/value pair in labels is inserted into the label map in the
// order provided, overriding any previous value for the same key.
// The augmented label map will be set for the duration of the call to f
// and restored once f returns.
func Do(ctx context.Context, labels LabelSet, f func(context.Context)) {
	defer SetGoroutineLabels(ctx)
	ctx = WithLabels(ctx, labels)
	SetGoroutineLabels(ctx)
	f(ctx)
}

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
16 Dec 2025 9.34 PM
root / root
0755
defs_darwin.go
0.752 KB
4 Dec 2025 6.06 PM
root / root
0644
defs_darwin_amd64.go
0.595 KB
4 Dec 2025 6.06 PM
root / root
0644
defs_darwin_arm64.go
0.593 KB
4 Dec 2025 6.06 PM
root / root
0644
elf.go
2.794 KB
4 Dec 2025 6.06 PM
root / root
0644
label.go
4.02 KB
4 Dec 2025 6.06 PM
root / root
0644
map.go
1.938 KB
4 Dec 2025 6.06 PM
root / root
0644
pe.go
0.523 KB
4 Dec 2025 6.06 PM
root / root
0644
pprof.go
31.134 KB
4 Dec 2025 6.06 PM
root / root
0644
pprof_norusage.go
0.302 KB
4 Dec 2025 6.06 PM
root / root
0644
pprof_rusage.go
0.773 KB
4 Dec 2025 6.06 PM
root / root
0644
pprof_windows.go
0.493 KB
4 Dec 2025 6.06 PM
root / root
0644
proto.go
25.951 KB
4 Dec 2025 6.06 PM
root / root
0644
proto_darwin.go
1.028 KB
4 Dec 2025 6.06 PM
root / root
0644
proto_other.go
0.906 KB
4 Dec 2025 6.06 PM
root / root
0644
proto_windows.go
2.165 KB
4 Dec 2025 6.06 PM
root / root
0644
protobuf.go
2.504 KB
4 Dec 2025 6.06 PM
root / root
0644
protomem.go
2.986 KB
4 Dec 2025 6.06 PM
root / root
0644
runtime.go
1.762 KB
4 Dec 2025 6.06 PM
root / root
0644
vminfo_darwin.go
1.806 KB
4 Dec 2025 6.06 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF