mirror of
https://github.com/hanzoai/traces.git
synced 2026-11-03 04:05:45 +00:00
* Update Prometheus to v0.307.2 * Update otel collector * Update OTel collector
13 lines
422 B
Go
13 lines
422 B
Go
// Copyright The OpenTelemetry Authors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package pprofile // import "go.opentelemetry.io/collector/pdata/pprofile"
|
|
|
|
// Equal checks equality with another Location
|
|
func (ms Location) Equal(val Location) bool {
|
|
return ms.MappingIndex() == val.MappingIndex() &&
|
|
ms.Address() == val.Address() &&
|
|
ms.AttributeIndices().Equal(val.AttributeIndices()) &&
|
|
ms.Line().Equal(val.Line())
|
|
}
|