Преглед на файлове

Use the better fix for the issue with reflected calls in heap profiles

This uses https://go-review.googlesource.com/#/c/33635 instead of the
previous change to fix https://github.com/google/pprof/issues/54.
Alexey Alexandrov преди 8 години
родител
ревизия
4e0f07d812
променени са 1 файла, в които са добавени 2 реда и са изтрити 3 реда
  1. 2
    3
      profile/legacy_profile.go

+ 2
- 3
profile/legacy_profile.go Целия файл

@@ -1174,9 +1174,8 @@ var allocSkipRxStr = strings.Join([]string{
1174 1174
 	// Preserve Go runtime frames that appear in the middle/bottom of
1175 1175
 	// the stack.
1176 1176
 	`runtime\.panic`,
1177
-	// See https://github.com/google/pprof/issues/54.
1178
-	`runtime\.call32`,
1179
-	`runtime\.call64`,
1177
+	`runtime\.reflectcall`,
1178
+	`runtime\.call[0-9]*`,
1180 1179
 }, `|`)
1181 1180
 
1182 1181
 var cpuProfilerRxStr = strings.Join([]string{