MCPcopy Create free account
hub / github.com/google/pprof / elfMapping

Struct elfMapping

internal/binutils/binutils.go:527–532  ·  view source on GitHub ↗

elfMapping stores the parameters of a runtime mapping that are needed to identify the ELF segment associated with a mapping.

Source from the content-addressed store, hash-verified

525// elfMapping stores the parameters of a runtime mapping that are needed to
526// identify the ELF segment associated with a mapping.
527type elfMapping struct {
528 // Runtime mapping parameters.
529 start, limit, offset uint64
530 // Offset of kernel relocation symbol. Only defined for kernel images, nil otherwise.
531 kernelOffset *uint64
532}
533
534// findProgramHeader returns the program segment that matches the current
535// mapping and the given address, or an error if it cannot find a unique program

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected