From 555ec5165c40757fee51edf73275c5cead322b3f Mon Sep 17 00:00:00 2001 From: Damien Mathieu <42@dmathieu.com> Date: Fri, 29 Nov 2024 11:33:58 +0100 Subject: [PATCH] Update reporter/internal/pdata/generate.go Co-authored-by: Florian Lehner --- reporter/internal/pdata/generate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reporter/internal/pdata/generate.go b/reporter/internal/pdata/generate.go index 6c044307..def9dfe5 100644 --- a/reporter/internal/pdata/generate.go +++ b/reporter/internal/pdata/generate.go @@ -111,7 +111,7 @@ func (p *Pdata) setProfile( fileIDtoMapping[traceInfo.Files[i]] = idx locationMappingIndex = idx - ei, exists := p.Executables.Get(traceInfo.Files[i]) + ei, exists := p.Executables.GetAndRefresh(traceInfo.Files[i], ...) // Next step: Select a proper default value, // if the name of the executable is not known yet.