소스 검색

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{