-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes a build error with the current grafana and golang version: > # github.com/grafana/pyroscope-go/godeltaprof/internal/pprof > ../../../go/pkg/mod/github.com/grafana/pyroscope-go/[email protected]/internal/pprof/delta_mutex.go:30:20: undefined: runtime_cyclesPerSecond > ../../../go/pkg/mod/github.com/grafana/pyroscope-go/[email protected]/internal/pprof/proto.go:320:8: undefined: runtime_expandFinalInlineFrame Fixes #21183.
- Loading branch information
Showing
2 changed files
with
9 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,11 @@ | ||
diff --git a/go.mod b/go.mod | ||
index 9aef536350e..e443ee4b148 100644 | ||
--- a/go.mod | ||
+++ b/go.mod | ||
@@ -519,3 +519,5 @@ exclude github.com/mattn/go-sqlite3 v2.0.3+incompatible | ||
|
||
diff -u -r ../cache/tmp-checkout/go.mod ./go.mod | ||
--- ../cache/tmp-checkout/go.mod 2024-09-11 19:37:06.886258923 +0000 | ||
+++ ./go.mod 2024-09-11 19:38:40.638038867 +0000 | ||
@@ -493,5 +493,7 @@ | ||
// Use our fork xorm. go.work currently overrides this and points to the local ./pkg/util/xorm directory. | ||
replace xorm.io/xorm => github.com/grafana/grafana/pkg/util/xorm v0.0.1 | ||
+ | ||
+replace github.com/hashicorp/go-sockaddr v1.0.6 => ./go-sockaddr | ||
diff --git a/go.sum b/go.sum | ||
index 2e51b7e84c2..fac0c1149ea 100644 | ||
--- a/go.sum | ||
+++ b/go.sum | ||
@@ -2271,8 +2271,6 @@ github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5O | ||
github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= | ||
github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= | ||
github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjGlgmH/UkBUC97A= | ||
-github.com/hashicorp/go-sockaddr v1.0.6 h1:RSG8rKU28VTUTvEKghe5gIhIQpv8evvNpnDEyqO4u9I= | ||
-github.com/hashicorp/go-sockaddr v1.0.6/go.mod h1:uoUUmtwU7n9Dv3O4SNLeFvg0SxQ3lyjsj6+CCykpaxI= | ||
github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= | ||
github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= | ||
github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= | ||
+ | ||
// lock for mysql tsdb compat | ||
replace github.com/go-sql-driver/mysql => github.com/go-sql-driver/mysql v1.7.1 |