Documentation
¶
Index ¶
- Constants
- func CollectAsyncProfiler(pid uint32) ([]byte, error)
- func DeployAndStartAsyncProfiler(pid uint32) error
- func DumpPerfmap(pid uint32) error
- func EnsureTlsAgentLoaded(pid uint32) string
- func IsAsyncProfilerAlreadyLoaded(pid uint32) bool
- func IsHotSpotJVM(pid uint32) bool
- func IsJavaProcess(pid uint32) bool
- func IsPerfmapDumpSupported(cmdline []byte) bool
- func LoadAgent(pid uint32, agentPath, args string) error
- func LoadNativeAgent(pid uint32, agentPath, args string) error
- func StopAsyncProfiler(pid uint32)
- type JavaProfile
Constants ¶
View Source
const ( ProfileTypeAllocObjects = "java:heap_alloc_objects:count" ProfileTypeAllocSpace = "java:heap_alloc_space:bytes" ProfileTypeCPU = "java:cpu:nanoseconds" ProfileTypeLockContentions = "java:lock_contentions:count" ProfileTypeLockDelay = "java:lock_delay:nanoseconds" )
Variables ¶
This section is empty.
Functions ¶
func CollectAsyncProfiler ¶ added in v1.31.0
func DeployAndStartAsyncProfiler ¶ added in v1.31.0
func DumpPerfmap ¶
func EnsureTlsAgentLoaded ¶ added in v1.30.0
func IsAsyncProfilerAlreadyLoaded ¶ added in v1.31.0
func IsHotSpotJVM ¶ added in v1.31.0
func IsJavaProcess ¶ added in v1.30.0
func IsPerfmapDumpSupported ¶
func LoadNativeAgent ¶ added in v1.31.0
func StopAsyncProfiler ¶ added in v1.31.0
func StopAsyncProfiler(pid uint32)
Types ¶
type JavaProfile ¶ added in v1.31.0
func ParseProfiles ¶ added in v1.31.0
func ParseProfiles(jfrData []byte, duration time.Duration) ([]JavaProfile, error)
Click to show internal directories.
Click to hide internal directories.