| Index: Source/devtools/protocol.json
|
| diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json
|
| index 205f306816462c8238ec3aabff4f07a76dca5181..3c6cf38f0a5025de92c06f3e058a567826bab1b1 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": "positionTicks", "type": "array", "items": { "$ref": "PositionTickInfo" }, "description": "An array of source position ticks." }
|
| ]
|
| },
|
| {
|
| @@ -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": "PositionTickInfo",
|
| + "type": "object",
|
| + "description": "Specifies a number of samples attributed to a certain source position.",
|
| + "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": [
|
|
|