-
Notifications
You must be signed in to change notification settings - Fork 966
Expand file tree
/
Copy pathMappingData.java
More file actions
36 lines (28 loc) · 956 Bytes
/
MappingData.java
File metadata and controls
36 lines (28 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.sdk.profiles;
import java.util.List;
import javax.annotation.concurrent.Immutable;
/**
* Describes the mapping of a binary in memory.
*
* @see "profiles.proto::Mapping"
*/
@Immutable
public interface MappingData {
/** Address at which the binary (or DLL) is loaded into memory. */
long getMemoryStart();
/** The limit of the address range occupied by this mapping. */
long getMemoryLimit();
/** Offset in the binary that corresponds to the first mapped address. */
long getFileOffset();
/**
* The object this entry is loaded from. This can be a filename on disk for the main binary and
* shared libraries, or virtual abstraction like "[vdso]". Index into the string table.
*/
int getFilenameStringIndex();
/** References to attributes in Profile.attribute_table. */
List<Integer> getAttributeIndices();
}