OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Next MinVersion: 1 |
| 6 |
| 7 module arc.mojom; |
| 8 |
| 9 interface TraceInstance { |
| 10 // Queries available tracing categories in the container. |
| 11 QueryAvailableCategories@0() => (array<string> categories); |
| 12 |
| 13 // Starts tracing in the container with the given categories. |
| 14 StartTracing@1(array<string> categories) => (bool success); |
| 15 |
| 16 // Stops tracing in the container and gets the report from client. |
| 17 // The client side should implement a circular buffer to limit the size of |
| 18 // the report in a reasonable size. Currently the buffer size is set to 16MB. |
| 19 StopTracing@2() => (string report); |
| 20 }; |
OLD | NEW |