Skip to content

Commit 7ddc23e

Browse files
authored
Fix /prod -> /proc for processInfo (open-telemetry#439)
1 parent bbdae3f commit 7ddc23e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

processmanager/processinfo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func (pm *ProcessManager) updatePidInformation(pid libpf.PID, m *Mapping) (bool,
8686
// allocate the embedded map for this process.
8787
var processName string
8888
exePath, _ := os.Readlink(fmt.Sprintf("/proc/%d/exe", pid))
89-
if name, err := os.ReadFile(fmt.Sprintf("/prod/%d/comm", pid)); err == nil {
89+
if name, err := os.ReadFile(fmt.Sprintf("/proc/%d/comm", pid)); err == nil {
9090
processName = string(name)
9191
}
9292

0 commit comments

Comments
 (0)