浏览代码

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

Do not hide allocation frames under call32/call64.
Raul Silvera 8 年前
父节点
当前提交
effd8a1ff1
共有 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{