Index: tools/tickprocessor.js |
diff --git a/tools/tickprocessor.js b/tools/tickprocessor.js |
index 78f4ceee7119831363dc383579974277e21e3e3a..7530c6b37dd8ae5c25b351fa6de742a63f5c5c2d 100644 |
--- a/tools/tickprocessor.js |
+++ b/tools/tickprocessor.js |
@@ -73,7 +73,7 @@ function parseState(s) { |
function SnapshotLogProcessor() { |
LogReader.call(this, { |
'code-creation': { |
- parsers: [null, parseInt, parseInt, null, 'var-args'], |
+ parsers: [null, parseInt, parseInt, parseInt, null, 'var-args'], |
processor: this.processCodeCreation }, |
'code-move': { parsers: [parseInt, parseInt], |
processor: this.processCodeMove }, |
@@ -107,7 +107,7 @@ inherits(SnapshotLogProcessor, LogReader); |
SnapshotLogProcessor.prototype.processCodeCreation = function( |
- type, start, size, name, maybe_func) { |
+ type, kind, start, size, name, maybe_func) { |
if (maybe_func.length) { |
var funcAddr = parseInt(maybe_func[0]); |
var state = parseState(maybe_func[1]); |
@@ -156,7 +156,7 @@ function TickProcessor( |
'shared-library': { parsers: [null, parseInt, parseInt], |
processor: this.processSharedLibrary }, |
'code-creation': { |
- parsers: [null, parseInt, parseInt, null, 'var-args'], |
+ parsers: [null, parseInt, parseInt, parseInt, null, 'var-args'], |
processor: this.processCodeCreation }, |
'code-move': { parsers: [parseInt, parseInt], |
processor: this.processCodeMove }, |
@@ -167,7 +167,7 @@ function TickProcessor( |
'snapshot-pos': { parsers: [parseInt, parseInt], |
processor: this.processSnapshotPosition }, |
'tick': { |
- parsers: [parseInt, parseInt, parseInt, |
+ parsers: [parseInt, parseInt, parseInt, parseInt, |
parseInt, parseInt, 'var-args'], |
processor: this.processTick }, |
'heap-sample-begin': { parsers: [null, null, parseInt], |
@@ -309,7 +309,7 @@ TickProcessor.prototype.processSharedLibrary = function( |
TickProcessor.prototype.processCodeCreation = function( |
- type, start, size, name, maybe_func) { |
+ type, kind, start, size, name, maybe_func) { |
name = this.deserializedEntriesNames_[start] || name; |
if (maybe_func.length) { |
var funcAddr = parseInt(maybe_func[0]); |
@@ -350,6 +350,7 @@ TickProcessor.prototype.includeTick = function(vmState) { |
TickProcessor.prototype.processTick = function(pc, |
sp, |
+ ns_since_start, |
is_external_callback, |
tos_or_external_callback, |
vmState, |