Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(601)

Unified Diff: third_party/WebKit/Source/devtools/protocol.json

Issue 1911643002: Add configurable limit to allocations in heap profiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed tracing handler unittest Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/protocol.json
diff --git a/third_party/WebKit/Source/devtools/protocol.json b/third_party/WebKit/Source/devtools/protocol.json
index 00002f8f276f9c4564031297401a94e010aea9a2..717bf3aef2e7779ef3fac4a25048ec3925180d48 100644
--- a/third_party/WebKit/Source/devtools/protocol.json
+++ b/third_party/WebKit/Source/devtools/protocol.json
@@ -4693,11 +4693,19 @@
],
"description": "Memory dump trigger configuration."
},
+ { "id": "HeapProfilerOptions",
+ "type": "object",
+ "properties": [
+ { "name": "breakdown_threshold_bytes", "type": "number", "optional": true, "description": "The threshold in bytes beneath which heap profiler stacks are not broken down any further" }
caseq 2016/04/26 01:15:07 please note the style of identifiers in protocol.j
Maria 2016/04/27 22:58:12 Done.
+ ],
+ "description": "Provides additional options for the heap profiler."
+ },
{
"id": "MemoryDumpConfig",
"type": "object",
"properties": [
- { "name": "triggers", "type": "array", "items": { "$ref": "MemoryDumpTrigger" }, "optional": false, "description": "Memory dump trigger configuration." }
+ { "name": "triggers", "type": "array", "items": { "$ref": "MemoryDumpTrigger" }, "optional": false, "description": "Memory dump trigger configuration." },
+ { "name": "heap_profiler_options", "$ref": "HeapProfilerOptions", "optional": true, "description": "Provides additional options for the heap profiler." }
caseq 2016/04/26 01:15:07 ditto.
Maria 2016/04/27 22:58:12 Done.
],
"description": "Configuration for memory dump triggers. Used only when \"memory-infra\" category is enabled."
},

Powered by Google App Engine
This is Rietveld 408576698