Kaynağa Gözat

Merge pull request #55 from aalexand/aalexand-heap-unhide-reflected-calls

Do not hide allocation frames under call32/call64.
Raul Silvera 8 yıl önce
ebeveyn
işleme
effd8a1ff1
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  1. 3
    0
      profile/legacy_profile.go

+ 3
- 0
profile/legacy_profile.go Dosyayı Görüntüle

@@ -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{