Index: Source/devtools/protocol.json |
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
index 205f306816462c8238ec3aabff4f07a76dca5181..80daf0b65c4785478e72ff2cb92000cc90445ab6 100644 |
--- a/Source/devtools/protocol.json |
+++ b/Source/devtools/protocol.json |
@@ -3647,7 +3647,8 @@ |
{ "name": "callUID", "type": "number", "description": "Call UID." }, |
{ "name": "children", "type": "array", "items": { "$ref": "CPUProfileNode" }, "description": "Child nodes." }, |
{ "name": "deoptReason", "type": "string", "description": "The reason of being not optimized. The function may be deoptimized or marked as don't optimize."}, |
- { "name": "id", "type": "integer", "description": "Unique id of the node." } |
+ { "name": "id", "type": "integer", "description": "Unique id of the node." }, |
+ { "name": "lineTicks", "type": "array", "items": { "$ref": "LineTickInfo" }, "description": "An array of source line ticks." } |
yurys
2014/11/17 08:12:57
Since we'd like to eventually have column info as
Pan
2014/11/17 08:49:52
thanks, done.
|
] |
}, |
{ |
@@ -3661,6 +3662,15 @@ |
{ "name": "samples", "optional": true, "type": "array", "items": { "type": "integer" }, "description": "Ids of samples top nodes." }, |
{ "name": "timestamps", "optional": true, "type": "array", "items": { "type": "number" }, "description": "Timestamps of the samples in microseconds." } |
] |
+ }, |
+ { |
+ "id": "LineTickInfo", |
+ "type": "object", |
+ "description": "Specifies a number of samples attributed to a certain source line.", |
+ "properties": [ |
+ { "name": "line", "type": "integer", "description": "Source line number (1-based)." }, |
+ { "name": "ticks", "type": "integer", "description": "Number of samples attributed to the source line." } |
+ ] |
} |
], |
"commands": [ |