ruby

package
v0.0.0-...-553deb4 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Overview

Copyright 2023 The Parca Authors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataMapForLayout

func DataMapForLayout(v string) runtimedata.LayoutMap

func GetLayout

func GetLayout(v *semver.Version) (runtimedata.Key, runtimedata.RuntimeData, error)

GetLayout returns the matching layout for the given version.

func GetLayouts

func GetLayouts() (map[runtimedata.Key]runtimedata.RuntimeData, error)

GetLayouts returns all the layouts for the supported versions.

Types

type Layout

type Layout struct {
	VMOffset            int64 `yaml:"vm_offset"`
	VMSizeOffset        int64 `yaml:"vm_size_offset"`
	ControlFrameSizeof  int64 `yaml:"control_frame_t_sizeof"`
	CfpOffset           int64 `yaml:"cfp_offset"`
	LabelOffset         int64 `yaml:"label_offset"`
	PathFlavour         int64 `yaml:"path_flavour"`
	LineInfoSizeOffset  int64 `yaml:"line_info_size_offset"`
	LineInfoTableOffset int64 `yaml:"line_info_table_offset"`
	LinenoOffset        int64 `yaml:"lineno_offset"`
	MainThreadOffset    int64 `yaml:"main_thread_offset"`
	EcOffset            int64 `yaml:"ec_offset"`
}

func (Layout) Data

func (rvo Layout) Data() ([]byte, error)

Jump to

Keyboard shortcuts

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