Roll V8 back to 3.6
Roll back to V8 3.6 to fix x86 build, we don't have ucontext.h.
This reverts commits:
5d4cdbf7a67d3662fa0bee4efdb7edd8daec9b0b
c7cc028aaeedbbfa11c11d0b7b243b3d9e837ed9
592a9fc1d8ea420377a2e7efd0600e20b058be2b
Bug: 5688872
Change-Id: Ic961bb5e65b778e98bbfb71cce71d99fa949e995
diff --git a/tools/tickprocessor.js b/tools/tickprocessor.js
index 05a3369..5f57835 100644
--- a/tools/tickprocessor.js
+++ b/tools/tickprocessor.js
@@ -146,12 +146,7 @@
function TickProcessor(
- cppEntriesProvider,
- separateIc,
- callGraphSize,
- ignoreUnknown,
- stateFilter,
- snapshotLogProcessor) {
+ cppEntriesProvider, separateIc, ignoreUnknown, stateFilter, snapshotLogProcessor) {
LogReader.call(this, {
'shared-library': { parsers: [null, parseInt, parseInt],
processor: this.processSharedLibrary },
@@ -186,7 +181,6 @@
'end-code-region': null });
this.cppEntriesProvider_ = cppEntriesProvider;
- this.callGraphSize_ = callGraphSize;
this.ignoreUnknown_ = ignoreUnknown;
this.stateFilter_ = stateFilter;
this.snapshotLogProcessor_ = snapshotLogProcessor;
@@ -246,7 +240,6 @@
TickProcessor.CALL_PROFILE_CUTOFF_PCT = 2.0;
-TickProcessor.CALL_GRAPH_SIZE = 5;
/**
* @override
@@ -542,7 +535,7 @@
padLeft(rec.parentTotalPercent.toFixed(1), 5) + '% ' +
indentStr + rec.internalFuncName);
// Limit backtrace depth.
- if (indent < 2 * self.callGraphSize_) {
+ if (indent < 10) {
self.printHeavyProfile(rec.children, indent + 2);
}
// Delimit top-level functions.
@@ -771,8 +764,6 @@
'Show only ticks from OTHER VM state'],
'-e': ['stateFilter', TickProcessor.VmStates.EXTERNAL,
'Show only ticks from EXTERNAL VM state'],
- '--call-graph-size': ['callGraphSize', TickProcessor.CALL_GRAPH_SIZE,
- 'Set the call graph size'],
'--ignore-unknown': ['ignoreUnknown', true,
'Exclude ticks of unknown code entries from processing'],
'--separate-ic': ['separateIc', true,
@@ -801,7 +792,6 @@
snapshotLogFileName: null,
platform: 'unix',
stateFilter: null,
- callGraphSize: 5,
ignoreUnknown: false,
separateIc: false,
nm: 'nm'