浏览代码

Merge pull request #56 from aalexand/aalexand-heap-use-go-unhide-fix

Use the better fix for the issue with reflected calls in heap profiles
Raul Silvera 8 年前
父节点
当前提交
a77d073971
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2
    3
      profile/legacy_profile.go

+ 2
- 3
profile/legacy_profile.go 查看文件

1174
 	// Preserve Go runtime frames that appear in the middle/bottom of
1174
 	// Preserve Go runtime frames that appear in the middle/bottom of
1175
 	// the stack.
1175
 	// the stack.
1176
 	`runtime\.panic`,
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
 var cpuProfilerRxStr = strings.Join([]string{
1181
 var cpuProfilerRxStr = strings.Join([]string{