ruby

package
v0.31.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRuntime added in v0.28.0

func IsRuntime(proc procfs.Proc) (bool, error)

func RuntimeInfo added in v0.28.0

func RuntimeInfo(proc procfs.Proc) (*runtime.Runtime, error)

Types

type Info added in v0.31.0

type Info struct {
	MainThreadAddress uint64
	// contains filtered or unexported fields
}

func InterpreterInfo

func InterpreterInfo(proc procfs.Proc) (*Info, error)

InterpreterInfo receives a process pid and memory mappings and figures out whether it might be a Ruby interpreter. In that case, it returns an `Interpreter` structure with the data that is needed by rbperf (https://github.com/javierhonduco/rbperf) to walk Ruby stacks.

func (*Info) Runtime added in v0.31.0

func (r *Info) Runtime() runtime.Runtime

func (*Info) Type added in v0.31.0

func (r *Info) Type() runtime.UnwinderType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL