diff options
author | Michael Pratt <mpratt@google.com> | 2021-10-26 16:18:52 -0400 |
---|---|---|
committer | Michael Pratt <mpratt@google.com> | 2021-10-28 18:10:50 +0000 |
commit | 2bc8ed8e9c5d8ae303b42bbd8c65f2c5dc38352a (patch) | |
tree | 34cdab33d2fccd7c4b27d6f9a40b6dee29953098 /src/internal/syscall/unix/sysnum_linux_generic.go | |
parent | 266626211e40d1f2c3a34fa4cd2023f5310cbd7d (diff) | |
download | go-git-2bc8ed8e9c5d8ae303b42bbd8c65f2c5dc38352a.tar.gz |
runtime: normalize sigprof traceback flags
Each gentraceback call uses a different set of flags. Combine these into
a common variable, only adjusted as necessary.
The effective changes here are:
* cgo traceback now has _TraceJumpStack. This is a no-op since it
already passes curg.
* libcall traceback now has _TraceJumpStack. This is a behavior change
and will allow following stack transitions if a libcall is performed on
g0.
* VDSO traceback drops _TraceTrap. vdsoPC is a return address, so
_TraceTrap was not necessary.
Change-Id: I351b3cb8dc77df7466795d5fbf2bd8f30bba2d37
Reviewed-on: https://go-review.googlesource.com/c/go/+/358900
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/internal/syscall/unix/sysnum_linux_generic.go')
0 files changed, 0 insertions, 0 deletions