OpenTelemetry PHP

Mapping extends Message
in package

Describes the mapping of a binary in memory, including its address range, file offset, and metadata like build ID

Generated from protobuf message opentelemetry.proto.profiles.v1development.Mapping

Table of Contents

Properties

$file_offset  : mixed
Offset in the binary that corresponds to the first mapped address.
$filename_strindex  : mixed
The object this entry is loaded from. This can be a filename on disk for the main binary and shared libraries, or virtual abstractions like "[vdso]".
$memory_limit  : mixed
The limit of the address range occupied by this mapping.
$memory_start  : mixed
Address at which the binary (or DLL) is loaded into memory.
$attribute_indices  : mixed
References to attributes in ProfilesDictionary.attribute_table. [optional]

Methods

__construct()  : mixed
Constructor.
getAttributeIndices()  : RepeatedField
References to attributes in ProfilesDictionary.attribute_table. [optional]
getFilenameStrindex()  : int
The object this entry is loaded from. This can be a filename on disk for the main binary and shared libraries, or virtual abstractions like "[vdso]".
getFileOffset()  : int|string
Offset in the binary that corresponds to the first mapped address.
getMemoryLimit()  : int|string
The limit of the address range occupied by this mapping.
getMemoryStart()  : int|string
Address at which the binary (or DLL) is loaded into memory.
setAttributeIndices()  : $this
References to attributes in ProfilesDictionary.attribute_table. [optional]
setFilenameStrindex()  : $this
The object this entry is loaded from. This can be a filename on disk for the main binary and shared libraries, or virtual abstractions like "[vdso]".
setFileOffset()  : $this
Offset in the binary that corresponds to the first mapped address.
setMemoryLimit()  : $this
The limit of the address range occupied by this mapping.
setMemoryStart()  : $this
Address at which the binary (or DLL) is loaded into memory.

Properties

$file_offset

Offset in the binary that corresponds to the first mapped address.

protected mixed $file_offset = 0

Generated from protobuf field uint64 file_offset = 3;

$filename_strindex

The object this entry is loaded from. This can be a filename on disk for the main binary and shared libraries, or virtual abstractions like "[vdso]".

protected mixed $filename_strindex = 0

Generated from protobuf field int32 filename_strindex = 4;

$memory_limit

The limit of the address range occupied by this mapping.

protected mixed $memory_limit = 0

Generated from protobuf field uint64 memory_limit = 2;

$memory_start

Address at which the binary (or DLL) is loaded into memory.

protected mixed $memory_start = 0

Generated from protobuf field uint64 memory_start = 1;

$attribute_indices

References to attributes in ProfilesDictionary.attribute_table. [optional]

private mixed $attribute_indices

Generated from protobuf field repeated int32 attribute_indices = 5;

Methods

__construct()

Constructor.

public __construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

{ Optional. Data for populating the Message object.

@type int|string $memory_start
      Address at which the binary (or DLL) is loaded into memory.
@type int|string $memory_limit
      The limit of the address range occupied by this mapping.
@type int|string $file_offset
      Offset in the binary that corresponds to the first mapped address.
@type int $filename_strindex
      The object this entry is loaded from.  This can be a filename on
      disk for the main binary and shared libraries, or virtual
      abstractions like "[vdso]".
@type int[]|\Google\Protobuf\Internal\RepeatedField $attribute_indices
      References to attributes in ProfilesDictionary.attribute_table. [optional]

}

getAttributeIndices()

References to attributes in ProfilesDictionary.attribute_table. [optional]

public getAttributeIndices() : RepeatedField

Generated from protobuf field repeated int32 attribute_indices = 5;

Return values
RepeatedField

getFilenameStrindex()

The object this entry is loaded from. This can be a filename on disk for the main binary and shared libraries, or virtual abstractions like "[vdso]".

public getFilenameStrindex() : int

Generated from protobuf field int32 filename_strindex = 4;

Return values
int

getFileOffset()

Offset in the binary that corresponds to the first mapped address.

public getFileOffset() : int|string

Generated from protobuf field uint64 file_offset = 3;

Return values
int|string

getMemoryLimit()

The limit of the address range occupied by this mapping.

public getMemoryLimit() : int|string

Generated from protobuf field uint64 memory_limit = 2;

Return values
int|string

getMemoryStart()

Address at which the binary (or DLL) is loaded into memory.

public getMemoryStart() : int|string

Generated from protobuf field uint64 memory_start = 1;

Return values
int|string

setAttributeIndices()

References to attributes in ProfilesDictionary.attribute_table. [optional]

public setAttributeIndices(array<string|int, int>|RepeatedField $var) : $this

Generated from protobuf field repeated int32 attribute_indices = 5;

Parameters
$var : array<string|int, int>|RepeatedField
Return values
$this

setFilenameStrindex()

The object this entry is loaded from. This can be a filename on disk for the main binary and shared libraries, or virtual abstractions like "[vdso]".

public setFilenameStrindex(int $var) : $this

Generated from protobuf field int32 filename_strindex = 4;

Parameters
$var : int
Return values
$this

setFileOffset()

Offset in the binary that corresponds to the first mapped address.

public setFileOffset(int|string $var) : $this

Generated from protobuf field uint64 file_offset = 3;

Parameters
$var : int|string
Return values
$this

setMemoryLimit()

The limit of the address range occupied by this mapping.

public setMemoryLimit(int|string $var) : $this

Generated from protobuf field uint64 memory_limit = 2;

Parameters
$var : int|string
Return values
$this

setMemoryStart()

Address at which the binary (or DLL) is loaded into memory.

public setMemoryStart(int|string $var) : $this

Generated from protobuf field uint64 memory_start = 1;

Parameters
$var : int|string
Return values
$this

        
On this page

Search results