diff options
author | Clément Chigot <clement.chigot@atos.net> | 2019-02-21 10:14:46 +0100 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2019-03-19 04:18:48 +0000 |
commit | 205d62d58b16afbb4e6232a0591e3e8f4153a591 (patch) | |
tree | a0d514aebb7dd56cfed95104d018d5d76c939cbd /src/runtime/pprof | |
parent | 6f7bb2cab6c9ac6b6ec530a87ffc854d19335a15 (diff) | |
download | go-205d62d58b16afbb4e6232a0591e3e8f4153a591.tar.gz go-205d62d58b16afbb4e6232a0591e3e8f4153a591.zip |
runtime: disable pprof test with cgo on aix/ppc64
This commit disables new cgo pprof tests and adds an handler in sigtramp
to refuse SIGPROF signal.
Updates #28555
Change-Id: I152a871f8636e93328d411329104c6f023bd1691
Reviewed-on: https://go-review.googlesource.com/c/go/+/164013
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/pprof')
-rw-r--r-- | src/runtime/pprof/proto_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/runtime/pprof/proto_test.go b/src/runtime/pprof/proto_test.go index 4452d51231..cb38150da8 100644 --- a/src/runtime/pprof/proto_test.go +++ b/src/runtime/pprof/proto_test.go @@ -312,6 +312,10 @@ func TestMapping(t *testing.T) { testenv.MustHaveGoRun(t) testenv.MustHaveCGO(t) + if runtime.GOOS == "aix" { + t.Skip("pprof not yet available on AIX (see golang.org/issue/28555)") + } + prog := "./testdata/mappingtest/main.go" // GoOnly includes only Go symbols that runtime will symbolize. |