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

Do not hide allocation frames under call32/call64.

See https://github.com/google/pprof/issues/54. Frames under
call32/call64 may be user code frames so should be shown to avoid
confusing re-attribution of allocations to the calling system frames.
Alexey Alexandrov преди 8 години
родител
ревизия
4e36200fb4
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3
    0
      profile/legacy_profile.go

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

@@ -1174,6 +1174,9 @@ 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 1180
 }, `|`)
1178 1181
 
1179 1182
 var cpuProfilerRxStr = strings.Join([]string{