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

Side by Side Diff: services/tracing/tracing.mojom

Issue 769963004: Add tracing service and make the shell+sky_viewer+services talk to it (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
« no previous file with comments | « services/tracing/trace_data_sink.cc ('k') | sky/tools/debugger/prompt/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 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 module tracing;
6
7 // To particate in the tracing ecosystem, implement the TraceController
8 // interface and connect to the tracing app. Then, when the controller's Start()
9 // function is called collect tracing data and pass it back via the
10 // TraceDataCollector interface up until Stop() is called.
11
12 [Client=TraceDataCollector]
13 interface TraceController {
14 StartTracing(string categories);
15 StopTracing();
16 };
17
18 [Client=TraceController]
19 interface TraceDataCollector {
20 DataCollected(string json);
21 EndTracing();
22 };
23
24 interface TraceCoordinator {
25 // Request tracing data from all connected TraceControllers to save in a file
26 // derived from |base_name|.
27 Start(string base_name, string categories);
28
29 // Stop tracing and flush results to file.
30 StopAndFlush();
31 };
OLDNEW
« no previous file with comments | « services/tracing/trace_data_sink.cc ('k') | sky/tools/debugger/prompt/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698