Ver código fonte

internal/driver: allow local symbolization with perf path format (#335)

Aleksey Akulovich 7 anos atrás
pai
commit
ff47fcd4d1
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      internal/driver/fetch.go

+ 1
- 0
internal/driver/fetch.go Ver arquivo

@@ -407,6 +407,7 @@ mapping:
407 407
 				if matches, err := filepath.Glob(filepath.Join(path, m.BuildID, "*")); err == nil {
408 408
 					fileNames = append(fileNames, matches...)
409 409
 				}
410
+				fileNames = append(fileNames, filepath.Join(path, m.File, m.BuildID)) // perf path format
410 411
 			}
411 412
 			if m.File != "" {
412 413
 				// Try both the basename and the full path, to support the same directory