From 04f16b55cee4bafbfdb9858a62b7985d7d34bab9 Mon Sep 17 00:00:00 2001 From: Marc Tuduri Date: Thu, 11 Jul 2024 16:07:51 +0200 Subject: [PATCH] Revert "Revert "comment out to try fix IT"" This reverts commit b645622916a1bd3e4e9740eaf466525f5e7b9f87. --- pkg/internal/goexec/offsets.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/internal/goexec/offsets.go b/pkg/internal/goexec/offsets.go index cc0834c11..6fb28af7b 100644 --- a/pkg/internal/goexec/offsets.go +++ b/pkg/internal/goexec/offsets.go @@ -38,9 +38,9 @@ func InspectOffsets(cfg *otel.TracesConfig, execElf *exec.FileInfo, funcs []stri // symTab would be used to find the function name from the address when // captuing Go errors. If the option is disabled, whe don't need to keep // the symbol table in memory. - if !cfg.ReportExceptionEvents { - symTab = nil - } + // if !cfg.ReportExceptionEvents { + // symTab = nil + // } if len(found) == 0 { return nil, fmt.Errorf("couldn't find any instrumentation point in %s", execElf.CmdExePath) }