|
CpuProfiler: Push the inlining data forward to cpu profiler.
The schema:
0) make inlining id accessible via LEnvironment->entry
1) push the map between pc_offset and inlining id into CodeEntry
2) collect inlining tree (script_ids, start_positions and inlining_positions) and put it into CodeEntry
3) In order of processing CodeDeoptEvent take the branch from the inlining tree where deopt has happened and put it into ProfileNode as DeoptInfo.
4) Dump this information as part of ProfileTree
BUG= chromium:452067
LOG=n
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+351 lines, -28 lines) |
Patch |
|
M |
src/arm/lithium-codegen-arm.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/arm64/lithium-codegen-arm64.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler.h
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler.cc
|
View
|
1
2
3
4
|
3 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/cpu-profiler.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/cpu-profiler.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/cpu-profiler-inl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/ia32/lithium-codegen-ia32.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/mips/lithium-codegen-mips.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/mips64/lithium-codegen-mips64.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/ppc/lithium-codegen-ppc.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/profile-generator.h
|
View
|
|
7 chunks |
+34 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/profile-generator.cc
|
View
|
1
|
3 chunks |
+45 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/profile-generator-inl.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/x64/lithium-codegen-x64.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/x87/lithium-codegen-x87.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-cpu-profiler.cc
|
View
|
1
2
3
|
4 chunks |
+218 lines, -1 line |
0 comments
|
Download
|
Total messages: 5 (1 generated)
|