1 2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module telemetry.core.tracing_controller</title> 4<meta charset="utf-8"> 5</head><body bgcolor="#f0f0f8"> 6 7<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> 8<tr bgcolor="#7799ee"> 9<td valign=bottom> <br> 10<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.core.html"><font color="#ffffff">core</font></a>.tracing_controller</strong></big></big></font></td 11><td align=right valign=bottom 12><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/core/tracing_controller.py">telemetry/core/tracing_controller.py</a></font></td></tr></table> 13 <p><tt># Copyright 2014 The Chromium Authors. All rights reserved.<br> 14# Use of this source code is governed by a BSD-style license that can be<br> 15# found in the LICENSE file.</tt></p> 16<p> 17<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 18<tr bgcolor="#ee77aa"> 19<td colspan=3 valign=bottom> <br> 20<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 21 22<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 23<td width="100%"><dl> 24<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a> 25</font></dt><dd> 26<dl> 27<dt><font face="helvetica, arial"><a href="telemetry.core.tracing_controller.html#TracingController">TracingController</a> 28</font></dt></dl> 29</dd> 30</dl> 31 <p> 32<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 33<tr bgcolor="#ffc8d8"> 34<td colspan=3 valign=bottom> <br> 35<font color="#000000" face="helvetica, arial"><a name="TracingController">class <strong>TracingController</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> 36 37<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> 38<td width="100%">Methods defined here:<br> 39<dl><dt><a name="TracingController-IsChromeTracingSupported"><strong>IsChromeTracingSupported</strong></a>(self)</dt><dd><tt>Returns whether chrome tracing is supported.</tt></dd></dl> 40 41<dl><dt><a name="TracingController-Start"><strong>Start</strong></a>(self, trace_options, category_filter, timeout<font color="#909090">=10</font>)</dt><dd><tt>Starts tracing.<br> 42 <br> 43trace_options specifies which tracing systems to activate. Category filter<br> 44allows fine-tuning of the data that are collected by the selected tracing<br> 45systems.<br> 46 <br> 47Some tracers are process-specific, e.g. chrome tracing, but are not<br> 48guaranteed to be supported. In order to support tracing of these kinds of<br> 49tracers, Start will succeed *always*, even if the tracing systems you have<br> 50requested are not supported.<br> 51 <br> 52If you absolutely require a particular tracer to exist, then check<br> 53for its support after you have started the process in question. Or, have<br> 54your code fail gracefully when the data you require is not present in the<br> 55resulting trace.</tt></dd></dl> 56 57<dl><dt><a name="TracingController-Stop"><strong>Stop</strong></a>(self)</dt><dd><tt>Stops tracing and returns a TraceValue.</tt></dd></dl> 58 59<dl><dt><a name="TracingController-__init__"><strong>__init__</strong></a>(self, tracing_controller_backend)</dt><dd><tt>Provides control of the tracing systems supported by telemetry.</tt></dd></dl> 60 61<hr> 62Data descriptors defined here:<br> 63<dl><dt><strong>__dict__</strong></dt> 64<dd><tt>dictionary for instance variables (if defined)</tt></dd> 65</dl> 66<dl><dt><strong>__weakref__</strong></dt> 67<dd><tt>list of weak references to the object (if defined)</tt></dd> 68</dl> 69<dl><dt><strong>is_tracing_running</strong></dt> 70</dl> 71</td></tr></table></td></tr></table> 72</body></html>