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

Unified Diff: components/arc/common/trace.mojom

Issue 2400163003: arc: enable Android tracing in verified-boot mode (Closed)
Patch Set: Fix some nits Created 3 years, 10 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: components/arc/common/trace.mojom
diff --git a/components/arc/common/trace.mojom b/components/arc/common/trace.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..7a2bd915c8186d31ee9a662d407dbafdbc9c24bc
--- /dev/null
+++ b/components/arc/common/trace.mojom
@@ -0,0 +1,22 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Next MinVersion: 1
+
+module arc.mojom;
+
+interface TraceInstance {
+ // Queries available tracing categories in the container.
+ QueryAvailableCategories@0() => (array<string> categories);
+
+ // Sets host socket handler for client to send trace events back to the host.
+ // The host is required to call this function before starting tracing.
+ SetHostSocket@3(handle sock);
Luis Héctor Chávez 2017/02/10 17:43:55 Why not send this in StartTracing()?
Earl Ou 2017/02/16 09:56:46 I think we don't need to recreate the socket betwe
Earl Ou 2017/03/22 11:38:26 Move this to StartTracing now.
+
+ // Starts tracing in the container with the given categories.
+ StartTracing@1(array<string> categories) => (bool success);
+
+ // Stops tracing in the container.
+ StopTracing@2() => (bool success);
+};

Powered by Google App Engine
This is Rietveld 408576698