diff --git a/Makefile b/Makefile index 80ad4b6a4..3677d4732 100644 --- a/Makefile +++ b/Makefile @@ -114,7 +114,7 @@ vanity-import-fix: $(PORTO) @go install github.com/jcchavezs/porto/cmd/porto@latest @porto --include-internal -w . -test: generate ebpf test-deps +test: generate ebpf test-deps rust-components go test $(GO_FLAGS) -tags $(GO_TAGS) ./... TESTDATA_DIRS:= \ @@ -129,7 +129,7 @@ test-deps: TEST_INTEGRATION_BINARY_DIRS := tracer processmanager/ebpf support -integration-test-binaries: generate ebpf +integration-test-binaries: generate ebpf rust-components $(foreach test_name, $(TEST_INTEGRATION_BINARY_DIRS), \ (go test -ldflags='-extldflags=-static' -trimpath -c \ -tags $(GO_TAGS),static_build,integration \ diff --git a/interpreter/go/go.go b/interpreter/go/go.go new file mode 100644 index 000000000..49d4d6340 --- /dev/null +++ b/interpreter/go/go.go @@ -0,0 +1,171 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +package golang // import "go.opentelemetry.io/ebpf-profiler/interpreter/go" + +/* +#cgo CFLAGS: -g -Wall +#include "../../rust-crates/symblib-capi/c/symblib.h" +#include +*/ +import "C" + +import ( + "errors" + "fmt" + "hash/fnv" + "sync/atomic" + "unsafe" + + "go.opentelemetry.io/ebpf-profiler/host" + "go.opentelemetry.io/ebpf-profiler/interpreter" + "go.opentelemetry.io/ebpf-profiler/libpf" + "go.opentelemetry.io/ebpf-profiler/metrics" + "go.opentelemetry.io/ebpf-profiler/remotememory" + "go.opentelemetry.io/ebpf-profiler/reporter" + "go.opentelemetry.io/ebpf-profiler/successfailurecounter" +) + +var ( + // compiler check to make sure the needed interfaces are satisfied + _ interpreter.Data = &goData{} + _ interpreter.Instance = &goInstance{} +) + +type goData struct { + goExecutable *C.SymblibPointResolver +} + +type goInstance struct { + interpreter.InstanceStubs + + // Go symbolization metrics + successCount atomic.Uint64 + failCount atomic.Uint64 + + d *goData +} + +func Loader(_ interpreter.EbpfHandler, info *interpreter.LoaderInfo) ( + interpreter.Data, error) { + ef, err := info.GetELF() + if err != nil { + return nil, err + } + if !ef.IsGolang() { + return nil, nil + } + + exec, err := info.ExtractAsFile() + if err != nil { + return nil, err + } + + executablePath := C.CString(exec) + defer C.free(unsafe.Pointer(executablePath)) + + gd := &goData{} + + //nolint:gocritic + status := C.symblib_goruntime_new(executablePath, &gd.goExecutable) + if status != C.SYMBLIB_OK { + return nil, fmt.Errorf("failed to create point resolver for '%s': %d", + exec, status) + } + + return gd, nil +} + +func (g *goData) Attach(_ interpreter.EbpfHandler, _ libpf.PID, + _ libpf.Address, _ remotememory.RemoteMemory) (interpreter.Instance, error) { + return &goInstance{ + d: g, + }, nil +} + +func (g *goData) Unload(_ interpreter.EbpfHandler) { + if g.goExecutable != nil { + C.symblib_goruntime_free(g.goExecutable) + g.goExecutable = nil + } +} + +func (g *goInstance) GetAndResetMetrics() ([]metrics.Metric, error) { + return []metrics.Metric{ + { + ID: metrics.IDGoSymbolizationSuccess, + Value: metrics.MetricValue(g.successCount.Swap(0)), + }, + { + ID: metrics.IDGoSymbolizationFailure, + Value: metrics.MetricValue(g.failCount.Swap(0)), + }, + }, nil +} + +// Detach is a NOP for goInstance. +func (g *goInstance) Detach(_ interpreter.EbpfHandler, _ libpf.PID) error { + return nil +} + +func (g *goInstance) Symbolize(symbolReporter reporter.SymbolReporter, frame *host.Frame, + trace *libpf.Trace) error { + if !frame.Type.IsInterpType(libpf.Native) { + return interpreter.ErrMismatchInterpreterType + } + sfCounter := successfailurecounter.New(&g.successCount, &g.failCount) + defer sfCounter.DefaultToFailure() + + if g.d.goExecutable == nil { + return errors.New("point resolver is out of scope") + } + + var symbols *C.SymblibSlice_SymblibResolvedSymbol + defer C.symblib_slice_symblibresolved_symbol_free(symbols) + + //nolint:gocritic + status := C.symblib_point_resolver_symbols_for_pc(g.d.goExecutable, + C.uint64_t(frame.Lineno), &symbols) + if status != C.SYMBLIB_OK { + return fmt.Errorf("failed to do point lookup at 0x%x: %d", + frame.Lineno, status) + } + + // Access resolved symbols + symbolsSlice := unsafe.Slice((*C.SymblibResolvedSymbol)(unsafe.Pointer(symbols.data)), + symbols.len) + if len(symbolsSlice) == 0 { + return fmt.Errorf("failed to symbolize 0x%x", frame.Lineno) + } + + frameFileBytes := []byte(frame.File.StringNoQuotes()) + for i := 0; i < len(symbolsSlice); i++ { + lineNo := libpf.SourceLineno(symbolsSlice[i].line_number) + funcName := C.GoString(symbolsSlice[i].function_name) + sourceFile := C.GoString(symbolsSlice[i].file_name) + + // The fnv hash Write() method calls cannot fail, so it's safe to ignore the errors. + h := fnv.New128a() + _, _ = h.Write(frameFileBytes) + _, _ = h.Write([]byte(funcName)) + _, _ = h.Write([]byte(sourceFile)) + fileID, err := libpf.FileIDFromBytes(h.Sum(nil)) + if err != nil { + return fmt.Errorf("failed to create a file ID: %v", err) + } + + frameID := libpf.NewFrameID(fileID, libpf.AddressOrLineno(lineNo)) + + trace.AppendFrameID(libpf.GoFrame, frameID) + + symbolReporter.FrameMetadata(&reporter.FrameMetadataArgs{ + FrameID: frameID, + FunctionName: funcName, + SourceFile: sourceFile, + SourceLine: lineNo, + }) + } + + sfCounter.ReportSuccess() + return nil +} diff --git a/interpreter/go/go_amd64.go b/interpreter/go/go_amd64.go new file mode 100644 index 000000000..05afcaa9a --- /dev/null +++ b/interpreter/go/go_amd64.go @@ -0,0 +1,11 @@ +//go:build amd64 + +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +package golang // import "go.opentelemetry.io/ebpf-profiler/interpreter/go" + +/* +#cgo LDFLAGS: ${SRCDIR}/../../target/x86_64-unknown-linux-musl/release/libsymblib_capi.a +*/ +import "C" diff --git a/interpreter/go/go_arm64.go b/interpreter/go/go_arm64.go new file mode 100644 index 000000000..8efa372f9 --- /dev/null +++ b/interpreter/go/go_arm64.go @@ -0,0 +1,11 @@ +//go:build arm64 + +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +package golang // import "go.opentelemetry.io/ebpf-profiler/interpreter/go" + +/* +#cgo LDFLAGS: ${SRCDIR}/../../target/aarch64-unknown-linux-musl/release/libsymblib_capi.a +*/ +import "C" diff --git a/libpf/frametype.go b/libpf/frametype.go index 30ec130d0..5da613078 100644 --- a/libpf/frametype.go +++ b/libpf/frametype.go @@ -49,6 +49,8 @@ const ( V8Frame FrameType = support.FrameMarkerV8 // DotnetFrame identifies the Dotnet interpreter frames. DotnetFrame FrameType = support.FrameMarkerDotnet + // GoFrame identifies Go frames. + GoFrame FrameType = support.FrameMarkerGo // AbortFrame identifies frames that report that further unwinding was aborted due to an error. AbortFrame FrameType = support.FrameMarkerAbort ) diff --git a/libpf/interpretertype.go b/libpf/interpretertype.go index d6be81372..437b41dca 100644 --- a/libpf/interpretertype.go +++ b/libpf/interpretertype.go @@ -31,6 +31,8 @@ const ( V8 InterpreterType = support.FrameMarkerV8 // Dotnet identifies the Dotnet interpreter. Dotnet InterpreterType = support.FrameMarkerDotnet + // Go identifies Go code. + Go InterpreterType = support.FrameMarkerGo ) // Pseudo-interpreters without a corresponding frame type. @@ -65,6 +67,7 @@ var interpreterTypeToString = map[InterpreterType]string{ V8: "v8js", Dotnet: "dotnet", APMInt: "apm-integration", + Go: "go", } var stringToInterpreterType = make(map[string]InterpreterType, len(interpreterTypeToString)) diff --git a/metrics/ids.go b/metrics/ids.go index 86b80960b..40acc3698 100644 --- a/metrics/ids.go +++ b/metrics/ids.go @@ -635,6 +635,12 @@ const ( // Number of parsing errors seen during processing /proc//maps IDErrProcParse = 275 + // Number of successfully symbolized Go frames + IDGoSymbolizationSuccess = 276 + + // Number of Go frames that failed symbolization + IDGoSymbolizationFailure = 277 + // max number of ID values, keep this as *last entry* - IDMax = 276 + IDMax = 278 ) diff --git a/metrics/metrics.json b/metrics/metrics.json index 5ebc749e5..78f2ab5dc 100644 --- a/metrics/metrics.json +++ b/metrics/metrics.json @@ -1987,5 +1987,19 @@ "name": "ErrProcParse", "field": "agent.errors.proc_parse", "id": 275 + }, + { + "description": "Number of successfully symbolized Go frames", + "type": "counter", + "name": "GoSymbolizationSuccess", + "field": "agent.go.symbolization.successes", + "id": 276 + }, + { + "description": "Number of Go frames that failed symbolization", + "type": "counter", + "name": "GoSymbolizationFailure", + "field": "agent.go.symbolization.failures", + "id": 277 } ] diff --git a/processmanager/execinfomanager/manager.go b/processmanager/execinfomanager/manager.go index e0d79148a..c22256fd9 100644 --- a/processmanager/execinfomanager/manager.go +++ b/processmanager/execinfomanager/manager.go @@ -19,6 +19,7 @@ import ( "go.opentelemetry.io/ebpf-profiler/interpreter" "go.opentelemetry.io/ebpf-profiler/interpreter/apmint" "go.opentelemetry.io/ebpf-profiler/interpreter/dotnet" + golang "go.opentelemetry.io/ebpf-profiler/interpreter/go" "go.opentelemetry.io/ebpf-profiler/interpreter/hotspot" "go.opentelemetry.io/ebpf-profiler/interpreter/nodev8" "go.opentelemetry.io/ebpf-profiler/interpreter/perl" @@ -124,6 +125,9 @@ func NewExecutableInfoManager( if includeTracers.Has(types.DotnetTracer) { interpreterLoaders = append(interpreterLoaders, dotnet.Loader) } + if includeTracers.Has(types.GoTracer) { + interpreterLoaders = append(interpreterLoaders, golang.Loader) + } interpreterLoaders = append(interpreterLoaders, apmint.Loader) diff --git a/processmanager/manager.go b/processmanager/manager.go index fa3e083ee..6582332ae 100644 --- a/processmanager/manager.go +++ b/processmanager/manager.go @@ -269,6 +269,12 @@ func (pm *ProcessManager) ConvertTrace(trace *host.Trace) (newTrace *libpf.Trace } } + // Attempt symbolization of native frames. It is best effort and + // provides non-symbolized frames if no native symbolizer is active. + if err := pm.symbolizeFrame(i, trace, newTrace); err == nil { + continue + } + fileID, ok := pm.FileIDMapper.Get(frame.File) if !ok { log.Debugf( diff --git a/support/ebpf/frametypes.h b/support/ebpf/frametypes.h index ef2bc1a57..ff87c15cb 100644 --- a/support/ebpf/frametypes.h +++ b/support/ebpf/frametypes.h @@ -33,6 +33,8 @@ #define FRAME_MARKER_PHP_JIT 0x9 // Indicates a Dotnet frame #define FRAME_MARKER_DOTNET 0xA +// Indicates a Go frame +#define FRAME_MARKER_GO 0xB // Indicates a frame containing information about a critical unwinding error // that caused further unwinding to be aborted. diff --git a/support/types.go b/support/types.go index f24488009..cdec6968e 100644 --- a/support/types.go +++ b/support/types.go @@ -19,6 +19,7 @@ const ( FrameMarkerPerl = 0x7 FrameMarkerV8 = 0x8 FrameMarkerDotnet = 0xa + FrameMarkerGo = 0xb FrameMarkerAbort = 0xff ) diff --git a/support/types_def.go b/support/types_def.go index c094e0767..8141fa094 100644 --- a/support/types_def.go +++ b/support/types_def.go @@ -24,6 +24,7 @@ const ( FrameMarkerPerl = C.FRAME_MARKER_PERL FrameMarkerV8 = C.FRAME_MARKER_V8 FrameMarkerDotnet = C.FRAME_MARKER_DOTNET + FrameMarkerGo = C.FRAME_MARKER_GO FrameMarkerAbort = C.FRAME_MARKER_ABORT ) diff --git a/tools/coredump/testdata/amd64/go-1.24.1-hello.json.json b/tools/coredump/testdata/amd64/go-1.24.1-hello.json.json new file mode 100644 index 000000000..69ddd39c0 --- /dev/null +++ b/tools/coredump/testdata/amd64/go-1.24.1-hello.json.json @@ -0,0 +1,63 @@ +{ + "coredump-ref": "ad99fdc13a9fd30c511ae87fbd2f0d4ba8c16af65a691cce39dc9031f04b26f4", + "threads": [ + { + "lwp": 2683, + "frames": [ + "internal/runtime/syscall.Syscall6+0 in /usr/local/go/src/internal/runtime/syscall/asm_linux_amd64.s:36", + "syscall.RawSyscall6+0 in /usr/local/go/src/syscall/syscall_linux.go:66", + "syscall.Syscall+0 in /usr/local/go/src/syscall/syscall_linux.go:86", + "syscall.write+0 in /usr/local/go/src/syscall/zsyscall_linux_amd64.go:964", + "internal/poll.(*FD).Write+0 in /usr/local/go/src/syscall/syscall_unix.go:211", + "os.(*File).Write+0 in /usr/local/go/src/os/file.go:196", + "fmt.Fprintln+0 in /usr/local/go/src/fmt/print.go:305", + "main.hello+0 in /home/ec2-user/testsources/go/hello.go:14", + "main.main+0 in /home/ec2-user/testsources/go/hello.go:50", + "runtime.main+0 in /usr/local/go/src/internal/runtime/atomic/types.go:194", + "runtime.goexit+0 in /usr/local/go/src/runtime/asm_amd64.s:1701" + ] + }, + { + "lwp": 2684, + "frames": [ + "runtime.usleep+0 in /usr/local/go/src/runtime/sys_linux_amd64.s:135", + "runtime.sysmon+0 in /usr/local/go/src/runtime/proc.go:6108", + "runtime.sysmon+0 in /usr/local/go/src/runtime/proc.go:6108", + "runtime.mstart1+0 in /usr/local/go/src/runtime/proc.go:1855", + "runtime.mstart0+0 in /usr/local/go/src/runtime/proc.go:1817", + "runtime.mstart+0 in /usr/local/go/src/runtime/asm_amd64.s:396" + ] + }, + { + "lwp": 2685, + "frames": [ + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_amd64.s:558", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:75", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:48", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1888", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:3279", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:4017", + "runtime.goschedImpl+0 in /usr/local/go/src/runtime/proc.go:4176", + "runtime.gopreempt_m+0 in /usr/local/go/src/runtime/proc.go:4193", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_amd64.s:463" + ] + }, + { + "lwp": 2686, + "frames": [ + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_amd64.s:558", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:75", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:48", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1888", + "runtime.exitsyscall0+0 in /usr/local/go/src/runtime/proc.go:4875", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_amd64.s:463" + ] + } + ], + "modules": [ + { + "ref": "cfe34afe8ed0115e552d0e94cf7bd46186deb8c3775b310204f194a0b5f67cd5", + "local-path": "/home/ec2-user/testsources/go/hello" + } + ] +} diff --git a/tools/coredump/testdata/arm64/go.symbhack.readheader.json b/tools/coredump/testdata/arm64/go.symbhack.readheader.json index e6c0575db..d16b102ee 100644 --- a/tools/coredump/testdata/arm64/go.symbhack.readheader.json +++ b/tools/coredump/testdata/arm64/go.symbhack.readheader.json @@ -4,148 +4,148 @@ { "lwp": 243879, "frames": [ - "symbhack+0x575ee4", - "symbhack+0x5708b3", - "symbhack+0x570343", - "symbhack+0x825ed7", - "symbhack+0x826507", - "symbhack+0x822fc7", - "symbhack+0xf8fb27", - "symbhack+0xf8f2eb", - "symbhack+0xf8e6e3", - "symbhack+0x447677", - "symbhack+0x477ac3" + "debug/dwarf.(*unit).addrsize+0 in /usr/local/go/src/debug/dwarf/unit.go:37", + "debug/dwarf.(*LineReader).readHeader+0 in /usr/local/go/src/debug/dwarf/line.go:209", + "debug/dwarf.(*Data).LineReader+0 in /usr/local/go/src/debug/dwarf/line.go:174", + "github.com/optimyze/prodfiler/libpf/dwarfextract.(*SymbolResolver).loadLineTable+0 in /media/psf/devel/prodfiler/libpf/dwarfextract/symbols.go:297", + "github.com/optimyze/prodfiler/libpf/dwarfextract.(*SymbolResolver).loadCompilationUnit+0 in /media/psf/devel/prodfiler/libpf/dwarfextract/symbols.go:359", + "github.com/optimyze/prodfiler/libpf/dwarfextract.(*SymbolResolver).ElasticDump+0 in /media/psf/devel/prodfiler/libpf/dwarfextract/elastic.go:50", + "main.handleRegularExecutable+0 in /media/psf/devel/prodfiler/utils/symbhack/main.go:168", + "main.tryMain+0 in /media/psf/devel/prodfiler/utils/symbhack/main.go:123", + "main.main+0 in /media/psf/devel/prodfiler/utils/symbhack/main.go:43", + "runtime.main+0 in /usr/local/go/src/runtime/proc.go:259", + "runtime.goexit+0 in /usr/local/go/src/runtime/asm_arm64.s:1166" ] }, { "lwp": 243876, "frames": [ - "symbhack+0x478fcc", - "symbhack+0x44132b", - "symbhack+0x416daf", - "symbhack+0x44a1df", - "symbhack+0x44b7df", - "symbhack+0x44c31b", - "symbhack+0x44daaf", - "symbhack+0x44dfcb", - "symbhack+0x475453" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.mPark+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:2240", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2561", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 243878, "frames": [ - "symbhack+0x478914", - "symbhack+0x451f07", - "symbhack+0x44a0e7", - "symbhack+0x44a03b", - "symbhack+0x4753df" + "runtime.usleep+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:142", + "runtime.sysmon+0 in /usr/local/go/src/runtime/proc.go:5162", + "runtime.mstart1+0 in /usr/local/go/src/runtime/proc.go:1428", + "runtime.mstart0+0 in /usr/local/go/src/runtime/proc.go:1385", + "runtime.mstart+0 in /usr/local/go/src/runtime/asm_arm64.s:129" ] }, { "lwp": 243880, "frames": [ - "symbhack+0x47915c", - "symbhack+0x4410c7", - "symbhack+0x44c9d7", - "symbhack+0x44daaf", - "symbhack+0x44dfcb", - "symbhack+0x475453" + "runtime.epollwait+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:801", + "runtime.netpoll+0 in /usr/local/go/src/runtime/netpoll_epoll.go:126", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2829", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 243881, "frames": [ - "symbhack+0x478fcc", - "symbhack+0x44132b", - "symbhack+0x416daf", - "symbhack+0x44a1df", - "symbhack+0x44b7df", - "symbhack+0x44c31b", - "symbhack+0x44daaf", - "symbhack+0x44dfcb", - "symbhack+0x475453" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.mPark+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:2240", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2561", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 243882, "frames": [ - "symbhack+0x478fcc", - "symbhack+0x44132b", - "symbhack+0x416daf", - "symbhack+0x44b6e7", - "symbhack+0x44a0e7", - "symbhack+0x44a03b", - "symbhack+0x4753df" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.templateThread+0 in /usr/local/go/src/runtime/proc.go:2201", + "runtime.mstart1+0 in /usr/local/go/src/runtime/proc.go:1428", + "runtime.mstart0+0 in /usr/local/go/src/runtime/proc.go:1385", + "runtime.mstart+0 in /usr/local/go/src/runtime/asm_arm64.s:129" ] }, { "lwp": 243883, "frames": [ - "symbhack+0x478fcc", - "symbhack+0x44132b", - "symbhack+0x416daf", - "symbhack+0x44a1df", - "symbhack+0x44b7df", - "symbhack+0x44c31b", - "symbhack+0x44daaf", - "symbhack+0x44dfcb", - "symbhack+0x475453" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.mPark+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:2240", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2561", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 243884, "frames": [ - "symbhack+0x478fcc", - "symbhack+0x44132b", - "symbhack+0x416daf", - "symbhack+0x44a1df", - "symbhack+0x44b7df", - "symbhack+0x44c31b", - "symbhack+0x44daaf", - "symbhack+0x44dfcb", - "symbhack+0x475453" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.mPark+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:2240", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2561", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 243885, "frames": [ - "symbhack+0x478fcc", - "symbhack+0x44132b", - "symbhack+0x416daf", - "symbhack+0x44a1df", - "symbhack+0x44b7df", - "symbhack+0x44c31b", - "symbhack+0x44daaf", - "symbhack+0x44dfcb", - "symbhack+0x475453" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.mPark+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:2240", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2561", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 243886, "frames": [ - "symbhack+0x478fcc", - "symbhack+0x44132b", - "symbhack+0x416daf", - "symbhack+0x44a1df", - "symbhack+0x44b7df", - "symbhack+0x44c31b", - "symbhack+0x44daaf", - "symbhack+0x44dfcb", - "symbhack+0x475453" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.mPark+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:2240", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2561", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 243887, "frames": [ - "symbhack+0x478fcc", - "symbhack+0x44132b", - "symbhack+0x416daf", - "symbhack+0x44a1df", - "symbhack+0x44b7df", - "symbhack+0x44c31b", - "symbhack+0x44daaf", - "symbhack+0x44dfcb", - "symbhack+0x475453" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.mPark+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:2240", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2561", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] } ], diff --git a/tools/coredump/testdata/arm64/hello.3345.hello3.body.stp-after-bl.json b/tools/coredump/testdata/arm64/hello.3345.hello3.body.stp-after-bl.json index 0111f5f66..661ed86e0 100644 --- a/tools/coredump/testdata/arm64/hello.3345.hello3.body.stp-after-bl.json +++ b/tools/coredump/testdata/arm64/hello.3345.hello3.body.stp-after-bl.json @@ -4,62 +4,62 @@ { "lwp": 3662, "frames": [ - "hello.3345+0x90c94", - "hello.3345+0x90c43", - "hello.3345+0x90b3b", - "hello.3345+0x90afb", - "hello.3345+0x90e4b", - "hello.3345+0x43533", - "hello.3345+0x6c513" + "main.hello3+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:30", + "main.hello2+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:25", + "main.hello1+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:17", + "main.hello+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:12", + "main.main+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:47", + "runtime.main+0 in /usr/local/go/src/runtime/proc.go:259", + "runtime.goexit+0 in /usr/local/go/src/runtime/asm_arm64.s:1166" ] }, { "lwp": 3664, "frames": [ - "hello.3345+0x6d324", - "hello.3345+0x4eec7", - "hello.3345+0x46237", - "hello.3345+0x46187", - "hello.3345+0x69f5f" + "runtime.usleep+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:142", + "runtime.sysmon+0 in /usr/local/go/src/runtime/proc.go:5162", + "runtime.mstart1+0 in /usr/local/go/src/runtime/proc.go:1428", + "runtime.mstart0+0 in /usr/local/go/src/runtime/proc.go:1359", + "runtime.mstart+0 in /usr/local/go/src/runtime/asm_arm64.s:129" ] }, { "lwp": 3665, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 3666, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x485db", - "hello.3345+0x4a363", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.startlockedm+0 in /usr/local/go/src/runtime/proc.go:2471", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3241", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 3667, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] } ], diff --git a/tools/coredump/testdata/arm64/hello.3345.hello4.epi.add.json b/tools/coredump/testdata/arm64/hello.3345.hello4.epi.add.json index 81601ec0c..dfeba8651 100644 --- a/tools/coredump/testdata/arm64/hello.3345.hello4.epi.add.json +++ b/tools/coredump/testdata/arm64/hello.3345.hello4.epi.add.json @@ -4,63 +4,63 @@ { "lwp": 3662, "frames": [ - "hello.3345+0x90d90", - "hello.3345+0x90c93", - "hello.3345+0x90c43", - "hello.3345+0x90b3b", - "hello.3345+0x90afb", - "hello.3345+0x90e4b", - "hello.3345+0x43533", - "hello.3345+0x6c513" + "main.hello4+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:37", + "main.hello3+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:30", + "main.hello2+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:25", + "main.hello1+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:17", + "main.hello+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:12", + "main.main+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:47", + "runtime.main+0 in /usr/local/go/src/runtime/proc.go:259", + "runtime.goexit+0 in /usr/local/go/src/runtime/asm_arm64.s:1166" ] }, { "lwp": 3664, "frames": [ - "hello.3345+0x6d324", - "hello.3345+0x4eec7", - "hello.3345+0x46237", - "hello.3345+0x46187", - "hello.3345+0x69f5f" + "runtime.usleep+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:142", + "runtime.sysmon+0 in /usr/local/go/src/runtime/proc.go:5162", + "runtime.mstart1+0 in /usr/local/go/src/runtime/proc.go:1428", + "runtime.mstart0+0 in /usr/local/go/src/runtime/proc.go:1359", + "runtime.mstart+0 in /usr/local/go/src/runtime/asm_arm64.s:129" ] }, { "lwp": 3665, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 3666, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x485db", - "hello.3345+0x4a363", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.startlockedm+0 in /usr/local/go/src/runtime/proc.go:2471", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3241", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 3667, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] } ], diff --git a/tools/coredump/testdata/arm64/hello.3345.hello4.epi.ret.json b/tools/coredump/testdata/arm64/hello.3345.hello4.epi.ret.json index 7709c001a..9c1203c33 100644 --- a/tools/coredump/testdata/arm64/hello.3345.hello4.epi.ret.json +++ b/tools/coredump/testdata/arm64/hello.3345.hello4.epi.ret.json @@ -4,63 +4,63 @@ { "lwp": 3662, "frames": [ - "hello.3345+0x90d94", - "hello.3345+0x90c93", - "hello.3345+0x90c43", - "hello.3345+0x90b3b", - "hello.3345+0x90afb", - "hello.3345+0x90e4b", - "hello.3345+0x43533", - "hello.3345+0x6c513" + "main.hello4+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:37", + "main.hello3+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:30", + "main.hello2+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:25", + "main.hello1+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:17", + "main.hello+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:12", + "main.main+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:47", + "runtime.main+0 in /usr/local/go/src/runtime/proc.go:259", + "runtime.goexit+0 in /usr/local/go/src/runtime/asm_arm64.s:1166" ] }, { "lwp": 3664, "frames": [ - "hello.3345+0x6d324", - "hello.3345+0x4eec7", - "hello.3345+0x46237", - "hello.3345+0x46187", - "hello.3345+0x69f5f" + "runtime.usleep+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:142", + "runtime.sysmon+0 in /usr/local/go/src/runtime/proc.go:5162", + "runtime.mstart1+0 in /usr/local/go/src/runtime/proc.go:1428", + "runtime.mstart0+0 in /usr/local/go/src/runtime/proc.go:1359", + "runtime.mstart+0 in /usr/local/go/src/runtime/asm_arm64.s:129" ] }, { "lwp": 3665, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 3666, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x485db", - "hello.3345+0x4a363", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.startlockedm+0 in /usr/local/go/src/runtime/proc.go:2471", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3241", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 3667, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] } ], diff --git a/tools/coredump/testdata/arm64/hello.3345.hello5.body.adrp.json b/tools/coredump/testdata/arm64/hello.3345.hello5.body.adrp.json index 962400cb0..0945107e6 100644 --- a/tools/coredump/testdata/arm64/hello.3345.hello5.body.adrp.json +++ b/tools/coredump/testdata/arm64/hello.3345.hello5.body.adrp.json @@ -4,64 +4,64 @@ { "lwp": 3662, "frames": [ - "hello.3345+0x90dcc", - "hello.3345+0x90d4b", - "hello.3345+0x90c93", - "hello.3345+0x90c43", - "hello.3345+0x90b3b", - "hello.3345+0x90afb", - "hello.3345+0x90e4b", - "hello.3345+0x43533", - "hello.3345+0x6c513" + "main.hello5+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:41", + "main.hello4+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:36", + "main.hello3+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:30", + "main.hello2+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:25", + "main.hello1+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:17", + "main.hello+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:12", + "main.main+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:47", + "runtime.main+0 in /usr/local/go/src/runtime/proc.go:259", + "runtime.goexit+0 in /usr/local/go/src/runtime/asm_arm64.s:1166" ] }, { "lwp": 3664, "frames": [ - "hello.3345+0x6d328", - "hello.3345+0x4eec7", - "hello.3345+0x46237", - "hello.3345+0x46187", - "hello.3345+0x69f5f" + "runtime.usleep+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:143", + "runtime.sysmon+0 in /usr/local/go/src/runtime/proc.go:5162", + "runtime.mstart1+0 in /usr/local/go/src/runtime/proc.go:1428", + "runtime.mstart0+0 in /usr/local/go/src/runtime/proc.go:1359", + "runtime.mstart+0 in /usr/local/go/src/runtime/asm_arm64.s:129" ] }, { "lwp": 3665, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 3666, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x485db", - "hello.3345+0x4a363", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.startlockedm+0 in /usr/local/go/src/runtime/proc.go:2471", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3241", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 3667, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] } ], diff --git a/tools/coredump/testdata/arm64/hello.3345.hello5.epi.add.json b/tools/coredump/testdata/arm64/hello.3345.hello5.epi.add.json index dbbe9c1e5..b8cea9b76 100644 --- a/tools/coredump/testdata/arm64/hello.3345.hello5.epi.add.json +++ b/tools/coredump/testdata/arm64/hello.3345.hello5.epi.add.json @@ -4,77 +4,77 @@ { "lwp": 24601, "frames": [ - "hello.3345+0x90e10", - "hello.3345+0x90d4b", - "hello.3345+0x90c93", - "hello.3345+0x90c43", - "hello.3345+0x90b3b", - "hello.3345+0x90afb", - "hello.3345+0x90e4b", - "hello.3345+0x43533", - "hello.3345+0x6c513" + "main.hello5+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:43", + "main.hello4+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:36", + "main.hello3+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:30", + "main.hello2+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:25", + "main.hello1+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:17", + "main.hello+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:12", + "main.main+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:47", + "runtime.main+0 in /usr/local/go/src/runtime/proc.go:259", + "runtime.goexit+0 in /usr/local/go/src/runtime/asm_arm64.s:1166" ] }, { "lwp": 24603, "frames": [ - "hello.3345+0x6d324", - "hello.3345+0x4eec7", - "hello.3345+0x46237", - "hello.3345+0x46187", - "hello.3345+0x69f5f" + "runtime.usleep+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:142", + "runtime.sysmon+0 in /usr/local/go/src/runtime/proc.go:5162", + "runtime.mstart1+0 in /usr/local/go/src/runtime/proc.go:1428", + "runtime.mstart0+0 in /usr/local/go/src/runtime/proc.go:1359", + "runtime.mstart+0 in /usr/local/go/src/runtime/asm_arm64.s:129" ] }, { "lwp": 24604, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 24606, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 24605, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 24607, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x485db", - "hello.3345+0x4a363", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.startlockedm+0 in /usr/local/go/src/runtime/proc.go:2471", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3241", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] } ], diff --git a/tools/coredump/testdata/arm64/hello.3345.hello5.epi.ret.json b/tools/coredump/testdata/arm64/hello.3345.hello5.epi.ret.json index 5ab865957..edc772e01 100644 --- a/tools/coredump/testdata/arm64/hello.3345.hello5.epi.ret.json +++ b/tools/coredump/testdata/arm64/hello.3345.hello5.epi.ret.json @@ -4,77 +4,77 @@ { "lwp": 24601, "frames": [ - "hello.3345+0x90e14", - "hello.3345+0x90d4b", - "hello.3345+0x90c93", - "hello.3345+0x90c43", - "hello.3345+0x90b3b", - "hello.3345+0x90afb", - "hello.3345+0x90e4b", - "hello.3345+0x43533", - "hello.3345+0x6c513" + "main.hello5+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:43", + "main.hello4+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:36", + "main.hello3+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:30", + "main.hello2+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:25", + "main.hello1+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:17", + "main.hello+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:12", + "main.main+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:47", + "runtime.main+0 in /usr/local/go/src/runtime/proc.go:259", + "runtime.goexit+0 in /usr/local/go/src/runtime/asm_arm64.s:1166" ] }, { "lwp": 24603, "frames": [ - "hello.3345+0x6d324", - "hello.3345+0x4eec7", - "hello.3345+0x46237", - "hello.3345+0x46187", - "hello.3345+0x69f5f" + "runtime.usleep+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:142", + "runtime.sysmon+0 in /usr/local/go/src/runtime/proc.go:5162", + "runtime.mstart1+0 in /usr/local/go/src/runtime/proc.go:1428", + "runtime.mstart0+0 in /usr/local/go/src/runtime/proc.go:1359", + "runtime.mstart+0 in /usr/local/go/src/runtime/asm_arm64.s:129" ] }, { "lwp": 24604, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 24606, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 24605, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 24607, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x485db", - "hello.3345+0x4a363", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.startlockedm+0 in /usr/local/go/src/runtime/proc.go:2471", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3241", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] } ], diff --git a/tools/coredump/testdata/arm64/hello.3345.hello5.pro.add.json b/tools/coredump/testdata/arm64/hello.3345.hello5.pro.add.json index b36c968c0..53223e9c3 100644 --- a/tools/coredump/testdata/arm64/hello.3345.hello5.pro.add.json +++ b/tools/coredump/testdata/arm64/hello.3345.hello5.pro.add.json @@ -4,64 +4,64 @@ { "lwp": 155895, "frames": [ - "hello.3345+0x90dd0", - "hello.3345+0x90d4b", - "hello.3345+0x90c93", - "hello.3345+0x90c43", - "hello.3345+0x90b3b", - "hello.3345+0x90afb", - "hello.3345+0x90e4b", - "hello.3345+0x43533", - "hello.3345+0x6c513" + "main.hello5+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:41", + "main.hello4+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:36", + "main.hello3+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:30", + "main.hello2+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:25", + "main.hello1+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:17", + "main.hello+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:12", + "main.main+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:47", + "runtime.main+0 in /usr/local/go/src/runtime/proc.go:259", + "runtime.goexit+0 in /usr/local/go/src/runtime/asm_arm64.s:1166" ] }, { "lwp": 155900, "frames": [ - "hello.3345+0x6d328", - "hello.3345+0x4eec7", - "hello.3345+0x46237", - "hello.3345+0x46187", - "hello.3345+0x69f5f" + "runtime.usleep+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:143", + "runtime.sysmon+0 in /usr/local/go/src/runtime/proc.go:5162", + "runtime.mstart1+0 in /usr/local/go/src/runtime/proc.go:1428", + "runtime.mstart0+0 in /usr/local/go/src/runtime/proc.go:1359", + "runtime.mstart+0 in /usr/local/go/src/runtime/asm_arm64.s:129" ] }, { "lwp": 155901, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x485db", - "hello.3345+0x4a363", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.startlockedm+0 in /usr/local/go/src/runtime/proc.go:2471", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3241", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 155902, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 155903, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] } ], diff --git a/tools/coredump/testdata/arm64/hello.3345.hello5.pro.stp.json b/tools/coredump/testdata/arm64/hello.3345.hello5.pro.stp.json index c633739ae..33c02434b 100644 --- a/tools/coredump/testdata/arm64/hello.3345.hello5.pro.stp.json +++ b/tools/coredump/testdata/arm64/hello.3345.hello5.pro.stp.json @@ -4,64 +4,64 @@ { "lwp": 3662, "frames": [ - "hello.3345+0x90dc8", - "hello.3345+0x90d4b", - "hello.3345+0x90c93", - "hello.3345+0x90c43", - "hello.3345+0x90b3b", - "hello.3345+0x90afb", - "hello.3345+0x90e4b", - "hello.3345+0x43533", - "hello.3345+0x6c513" + "main.hello5+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:41", + "main.hello4+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:36", + "main.hello3+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:30", + "main.hello2+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:25", + "main.hello1+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:17", + "main.hello+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:12", + "main.main+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:47", + "runtime.main+0 in /usr/local/go/src/runtime/proc.go:259", + "runtime.goexit+0 in /usr/local/go/src/runtime/asm_arm64.s:1166" ] }, { "lwp": 3664, "frames": [ - "hello.3345+0x6d328", - "hello.3345+0x4eec7", - "hello.3345+0x46237", - "hello.3345+0x46187", - "hello.3345+0x69f5f" + "runtime.usleep+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:143", + "runtime.sysmon+0 in /usr/local/go/src/runtime/proc.go:5162", + "runtime.mstart1+0 in /usr/local/go/src/runtime/proc.go:1428", + "runtime.mstart0+0 in /usr/local/go/src/runtime/proc.go:1359", + "runtime.mstart+0 in /usr/local/go/src/runtime/asm_arm64.s:129" ] }, { "lwp": 3665, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 3666, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x485db", - "hello.3345+0x4a363", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.startlockedm+0 in /usr/local/go/src/runtime/proc.go:2471", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3241", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 3667, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] } ], diff --git a/tools/coredump/testdata/arm64/hello.3345.hello5.pro.str.json b/tools/coredump/testdata/arm64/hello.3345.hello5.pro.str.json index 40d21f17f..7648b4215 100644 --- a/tools/coredump/testdata/arm64/hello.3345.hello5.pro.str.json +++ b/tools/coredump/testdata/arm64/hello.3345.hello5.pro.str.json @@ -4,64 +4,64 @@ { "lwp": 3662, "frames": [ - "hello.3345+0x90dbc", - "hello.3345+0x90d4b", - "hello.3345+0x90c93", - "hello.3345+0x90c43", - "hello.3345+0x90b3b", - "hello.3345+0x90afb", - "hello.3345+0x90e4b", - "hello.3345+0x43533", - "hello.3345+0x6c513" + "main.hello5+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:40", + "main.hello4+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:36", + "main.hello3+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:30", + "main.hello2+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:25", + "main.hello1+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:17", + "main.hello+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:12", + "main.main+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:47", + "runtime.main+0 in /usr/local/go/src/runtime/proc.go:259", + "runtime.goexit+0 in /usr/local/go/src/runtime/asm_arm64.s:1166" ] }, { "lwp": 3664, "frames": [ - "hello.3345+0x6d328", - "hello.3345+0x4eec7", - "hello.3345+0x46237", - "hello.3345+0x46187", - "hello.3345+0x69f5f" + "runtime.usleep+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:143", + "runtime.sysmon+0 in /usr/local/go/src/runtime/proc.go:5162", + "runtime.mstart1+0 in /usr/local/go/src/runtime/proc.go:1428", + "runtime.mstart0+0 in /usr/local/go/src/runtime/proc.go:1359", + "runtime.mstart+0 in /usr/local/go/src/runtime/asm_arm64.s:129" ] }, { "lwp": 3665, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 3666, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x485db", - "hello.3345+0x4a363", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.startlockedm+0 in /usr/local/go/src/runtime/proc.go:2471", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3241", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 3667, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] } ], diff --git a/tools/coredump/testdata/arm64/hello.3345.hello5.pro.stur.json b/tools/coredump/testdata/arm64/hello.3345.hello5.pro.stur.json index 81d1c3ce6..1722102e3 100644 --- a/tools/coredump/testdata/arm64/hello.3345.hello5.pro.stur.json +++ b/tools/coredump/testdata/arm64/hello.3345.hello5.pro.stur.json @@ -4,64 +4,64 @@ { "lwp": 3662, "frames": [ - "hello.3345+0x90dc0", - "hello.3345+0x90d4b", - "hello.3345+0x90c93", - "hello.3345+0x90c43", - "hello.3345+0x90b3b", - "hello.3345+0x90afb", - "hello.3345+0x90e4b", - "hello.3345+0x43533", - "hello.3345+0x6c513" + "main.hello5+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:40", + "main.hello4+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:36", + "main.hello3+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:30", + "main.hello2+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:25", + "main.hello1+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:17", + "main.hello+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:12", + "main.main+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:47", + "runtime.main+0 in /usr/local/go/src/runtime/proc.go:259", + "runtime.goexit+0 in /usr/local/go/src/runtime/asm_arm64.s:1166" ] }, { "lwp": 3664, "frames": [ - "hello.3345+0x6d324", - "hello.3345+0x4eec7", - "hello.3345+0x46237", - "hello.3345+0x46187", - "hello.3345+0x69f5f" + "runtime.usleep+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:142", + "runtime.sysmon+0 in /usr/local/go/src/runtime/proc.go:5162", + "runtime.mstart1+0 in /usr/local/go/src/runtime/proc.go:1428", + "runtime.mstart0+0 in /usr/local/go/src/runtime/proc.go:1359", + "runtime.mstart+0 in /usr/local/go/src/runtime/asm_arm64.s:129" ] }, { "lwp": 3665, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 3666, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x485db", - "hello.3345+0x4a363", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.startlockedm+0 in /usr/local/go/src/runtime/proc.go:2471", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3241", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 3667, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] } ], diff --git a/tools/coredump/testdata/arm64/hello.3345.hello5.pro.sub.json b/tools/coredump/testdata/arm64/hello.3345.hello5.pro.sub.json index ef78f878d..87cf85b6b 100644 --- a/tools/coredump/testdata/arm64/hello.3345.hello5.pro.sub.json +++ b/tools/coredump/testdata/arm64/hello.3345.hello5.pro.sub.json @@ -4,64 +4,64 @@ { "lwp": 3662, "frames": [ - "hello.3345+0x90dc4", - "hello.3345+0x90d4b", - "hello.3345+0x90c93", - "hello.3345+0x90c43", - "hello.3345+0x90b3b", - "hello.3345+0x90afb", - "hello.3345+0x90e4b", - "hello.3345+0x43533", - "hello.3345+0x6c513" + "main.hello5+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:40", + "main.hello4+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:36", + "main.hello3+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:30", + "main.hello2+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:25", + "main.hello1+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:17", + "main.hello+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:12", + "main.main+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:47", + "runtime.main+0 in /usr/local/go/src/runtime/proc.go:259", + "runtime.goexit+0 in /usr/local/go/src/runtime/asm_arm64.s:1166" ] }, { "lwp": 3664, "frames": [ - "hello.3345+0x6d328", - "hello.3345+0x4eec7", - "hello.3345+0x46237", - "hello.3345+0x46187", - "hello.3345+0x69f5f" + "runtime.usleep+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:143", + "runtime.sysmon+0 in /usr/local/go/src/runtime/proc.go:5162", + "runtime.mstart1+0 in /usr/local/go/src/runtime/proc.go:1428", + "runtime.mstart0+0 in /usr/local/go/src/runtime/proc.go:1359", + "runtime.mstart+0 in /usr/local/go/src/runtime/asm_arm64.s:129" ] }, { "lwp": 3665, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 3666, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x485db", - "hello.3345+0x4a363", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.startlockedm+0 in /usr/local/go/src/runtime/proc.go:2471", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3241", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 3667, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] } ], diff --git a/tools/coredump/testdata/arm64/hello.3345.leaf.ret.json b/tools/coredump/testdata/arm64/hello.3345.leaf.ret.json index ac87a7cd4..d5ad0da3b 100644 --- a/tools/coredump/testdata/arm64/hello.3345.leaf.ret.json +++ b/tools/coredump/testdata/arm64/hello.3345.leaf.ret.json @@ -4,65 +4,65 @@ { "lwp": 156629, "frames": [ - "hello.3345+0x90a90", - "hello.3345+0x90e0b", - "hello.3345+0x90d4b", - "hello.3345+0x90c93", - "hello.3345+0x90c43", - "hello.3345+0x90b3b", - "hello.3345+0x90afb", - "hello.3345+0x90e4b", - "hello.3345+0x43533", - "hello.3345+0x6c513" + "main.leaf+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:6", + "main.hello5+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:43", + "main.hello4+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:36", + "main.hello3+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:30", + "main.hello2+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:25", + "main.hello1+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:17", + "main.hello+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:12", + "main.main+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:47", + "runtime.main+0 in /usr/local/go/src/runtime/proc.go:259", + "runtime.goexit+0 in /usr/local/go/src/runtime/asm_arm64.s:1166" ] }, { "lwp": 156634, "frames": [ - "hello.3345+0x6d324", - "hello.3345+0x4eec7", - "hello.3345+0x46237", - "hello.3345+0x46187", - "hello.3345+0x69f5f" + "runtime.usleep+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:142", + "runtime.sysmon+0 in /usr/local/go/src/runtime/proc.go:5162", + "runtime.mstart1+0 in /usr/local/go/src/runtime/proc.go:1428", + "runtime.mstart0+0 in /usr/local/go/src/runtime/proc.go:1359", + "runtime.mstart+0 in /usr/local/go/src/runtime/asm_arm64.s:129" ] }, { "lwp": 156635, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x485db", - "hello.3345+0x4a363", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.startlockedm+0 in /usr/local/go/src/runtime/proc.go:2471", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3241", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 156636, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 156637, "frames": [ - "hello.3345+0x6d9bc", - "hello.3345+0x3d6fb", - "hello.3345+0x1993f", - "hello.3345+0x47b13", - "hello.3345+0x4938b", - "hello.3345+0x4a3a7", - "hello.3345+0x4a8ff", - "hello.3345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] } ], diff --git a/tools/coredump/testdata/arm64/hello.345.hello5.body.add.json b/tools/coredump/testdata/arm64/hello.345.hello5.body.add.json index 2aecd5863..115579317 100644 --- a/tools/coredump/testdata/arm64/hello.345.hello5.body.add.json +++ b/tools/coredump/testdata/arm64/hello.345.hello5.body.add.json @@ -4,51 +4,53 @@ { "lwp": 155034, "frames": [ - "hello.345+0x90db0", - "hello.345+0x90d2b", - "hello.345+0x90c73", - "hello.345+0x90c2b", - "hello.345+0x90b3b", - "hello.345+0x90afb", - "hello.345+0x90e2b", - "hello.345+0x43533", - "hello.345+0x6c513" + "main.hello5+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:41", + "main.hello4+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:36", + "main.hello3+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:30", + "main.hello2+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:25", + "main.hello1+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:17", + "main.hello+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:12", + "main.main+0 in /media/psf/devel/prodfiler/utils/coredump/testsources/go/hello.go:47", + "runtime.main+0 in /usr/local/go/src/runtime/proc.go:259", + "runtime.goexit+0 in /usr/local/go/src/runtime/asm_arm64.s:1166" ] }, { "lwp": 155058, "frames": [ - "hello.345+0x6d324", - "hello.345+0x4eec7", - "hello.345+0x46237", - "hello.345+0x46187", - "hello.345+0x69f5f" + "runtime.usleep+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:142", + "runtime.sysmon+0 in /usr/local/go/src/runtime/proc.go:5162", + "runtime.mstart1+0 in /usr/local/go/src/runtime/proc.go:1428", + "runtime.mstart0+0 in /usr/local/go/src/runtime/proc.go:1359", + "runtime.mstart+0 in /usr/local/go/src/runtime/asm_arm64.s:129" + ] }, { "lwp": 155059, "frames": [ - "hello.345+0x6d9bc", - "hello.345+0x3d6fb", - "hello.345+0x1993f", - "hello.345+0x47b13", - "hello.345+0x4938b", - "hello.345+0x4a3a7", - "hello.345+0x4a8ff", - "hello.345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" ] }, { "lwp": 155060, "frames": [ - "hello.345+0x6d9bc", - "hello.345+0x3d6fb", - "hello.345+0x1993f", - "hello.345+0x47b13", - "hello.345+0x4938b", - "hello.345+0x4a3a7", - "hello.345+0x4a8ff", - "hello.345+0x69fd3" + "runtime.futex+0 in /usr/local/go/src/runtime/sys_linux_arm64.s:666", + "runtime.futexsleep+0 in /usr/local/go/src/runtime/os_linux.go:70", + "runtime.notesleep+0 in /usr/local/go/src/runtime/lock_futex.go:161", + "runtime.stopm+0 in /usr/local/go/src/runtime/proc.go:1458", + "runtime.findRunnable+0 in /usr/local/go/src/runtime/proc.go:2867", + "runtime.schedule+0 in /usr/local/go/src/runtime/proc.go:3206", + "runtime.park_m+0 in /usr/local/go/src/runtime/proc.go:3356", + "runtime.mcall+0 in /usr/local/go/src/runtime/asm_arm64.s:193" + ] } ], diff --git a/tracer/types/parse.go b/tracer/types/parse.go index 0337af250..96336c7fe 100644 --- a/tracer/types/parse.go +++ b/tracer/types/parse.go @@ -22,6 +22,7 @@ const ( RubyTracer V8Tracer DotnetTracer + GoTracer // maxTracers indicates the max. number of different tracers maxTracers @@ -35,6 +36,7 @@ var tracerTypeToName = map[tracerType]string{ RubyTracer: "ruby", V8Tracer: "v8", DotnetTracer: "dotnet", + GoTracer: "go", } var tracerNameToType = make(map[string]tracerType, maxTracers)