2 <!DOCTYPE html PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">
3 <html><head><title>Python: module telemetry.internal.platform.tracing_agent.chrome_tracing_agent
</title>
5 </head><body bgcolor=
"#f0f0f8">
7 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"heading">
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.internal.html"><font color=
"#ffffff">internal
</font></a>.
<a href=
"telemetry.internal.platform.html"><font color=
"#ffffff">platform
</font></a>.
<a href=
"telemetry.internal.platform.tracing_agent.html"><font color=
"#ffffff">tracing_agent
</font></a>.chrome_tracing_agent
</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/internal/platform/tracing_agent/chrome_tracing_agent.py">telemetry/internal/platform/tracing_agent/chrome_tracing_agent.py
</a></font></td></tr></table>
13 <p><tt>#
Copyright
2015 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>
17 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
18 <tr bgcolor=
"#aa55cc">
19 <td colspan=
3 valign=bottom
> <br>
20 <font color=
"#ffffff" face=
"helvetica, arial"><big><strong>Modules
</strong></big></font></td></tr>
22 <tr><td bgcolor=
"#aa55cc"><tt> </tt></td><td> </td>
23 <td width=
"100%"><table width=
"100%" summary=
"list"><tr><td width=
"25%" valign=top
><a href=
"telemetry.internal.platform.tracing_agent.chrome_tracing_devtools_manager.html">telemetry.internal.platform.tracing_agent.chrome_tracing_devtools_manager
</a><br>
24 <a href=
"os.html">os
</a><br>
25 <a href=
"shutil.html">shutil
</a><br>
26 </td><td width=
"25%" valign=top
><a href=
"stat.html">stat
</a><br>
27 <a href=
"sys.html">sys
</a><br>
28 <a href=
"tempfile.html">tempfile
</a><br>
29 </td><td width=
"25%" valign=top
><a href=
"traceback.html">traceback
</a><br>
30 <a href=
"telemetry.internal.platform.tracing_agent.html">telemetry.internal.platform.tracing_agent
</a><br>
31 <a href=
"telemetry.timeline.tracing_config.html">telemetry.timeline.tracing_config
</a><br>
32 </td><td width=
"25%" valign=top
></td></tr></table></td></tr></table><p>
33 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
34 <tr bgcolor=
"#ee77aa">
35 <td colspan=
3 valign=bottom
> <br>
36 <font color=
"#ffffff" face=
"helvetica, arial"><big><strong>Classes
</strong></big></font></td></tr>
38 <tr><td bgcolor=
"#ee77aa"><tt> </tt></td><td> </td>
40 <dt><font face=
"helvetica, arial"><a href=
"exceptions.html#Exception">exceptions.Exception
</a>(
<a href=
"exceptions.html#BaseException">exceptions.BaseException
</a>)
43 <dt><font face=
"helvetica, arial"><a href=
"telemetry.internal.platform.tracing_agent.chrome_tracing_agent.html#ChromeTracingStartedError">ChromeTracingStartedError
</a>
44 </font></dt><dt><font face=
"helvetica, arial"><a href=
"telemetry.internal.platform.tracing_agent.chrome_tracing_agent.html#ChromeTracingStoppedError">ChromeTracingStoppedError
</a>
47 <dt><font face=
"helvetica, arial"><a href=
"telemetry.internal.platform.tracing_agent.html#TracingAgent">telemetry.internal.platform.tracing_agent.TracingAgent
</a>(
<a href=
"__builtin__.html#object">__builtin__.object
</a>)
50 <dt><font face=
"helvetica, arial"><a href=
"telemetry.internal.platform.tracing_agent.chrome_tracing_agent.html#ChromeTracingAgent">ChromeTracingAgent
</a>
55 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
56 <tr bgcolor=
"#ffc8d8">
57 <td colspan=
3 valign=bottom
> <br>
58 <font color=
"#000000" face=
"helvetica, arial"><a name=
"ChromeTracingAgent">class
<strong>ChromeTracingAgent
</strong></a>(
<a href=
"telemetry.internal.platform.tracing_agent.html#TracingAgent">telemetry.internal.platform.tracing_agent.TracingAgent
</a>)
</font></td></tr>
60 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
61 <td width=
"100%"><dl><dt>Method resolution order:
</dt>
62 <dd><a href=
"telemetry.internal.platform.tracing_agent.chrome_tracing_agent.html#ChromeTracingAgent">ChromeTracingAgent
</a></dd>
63 <dd><a href=
"telemetry.internal.platform.tracing_agent.html#TracingAgent">telemetry.internal.platform.tracing_agent.TracingAgent
</a></dd>
64 <dd><a href=
"__builtin__.html#object">__builtin__.object
</a></dd>
67 Methods defined here:
<br>
68 <dl><dt><a name=
"ChromeTracingAgent-Start"><strong>Start
</strong></a>(self, trace_options, category_filter, timeout)
</dt></dl>
70 <dl><dt><a name=
"ChromeTracingAgent-Stop"><strong>Stop
</strong></a>(self, trace_data_builder)
</dt></dl>
72 <dl><dt><a name=
"ChromeTracingAgent-__init__"><strong>__init__
</strong></a>(self, platform_backend)
</dt></dl>
75 Class methods defined here:
<br>
76 <dl><dt><a name=
"ChromeTracingAgent-IsStartupTracingSupported"><strong>IsStartupTracingSupported
</strong></a>(cls, platform_backend)
<font color=
"#909090"><font face=
"helvetica, arial"> from
<a href=
"__builtin__.html#type">__builtin__.type
</a></font></font></dt></dl>
78 <dl><dt><a name=
"ChromeTracingAgent-IsSupported"><strong>IsSupported
</strong></a>(cls, platform_backend)
<font color=
"#909090"><font face=
"helvetica, arial"> from
<a href=
"__builtin__.html#type">__builtin__.type
</a></font></font></dt></dl>
81 Data descriptors defined here:
<br>
82 <dl><dt><strong>trace_config
</strong></dt>
84 <dl><dt><strong>trace_config_file
</strong></dt>
87 Data descriptors inherited from
<a href=
"telemetry.internal.platform.tracing_agent.html#TracingAgent">telemetry.internal.platform.tracing_agent.TracingAgent
</a>:
<br>
88 <dl><dt><strong>__dict__
</strong></dt>
89 <dd><tt>dictionary
for
instance
variables
(if
defined)
</tt></dd>
91 <dl><dt><strong>__weakref__
</strong></dt>
92 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
94 </td></tr></table> <p>
95 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
96 <tr bgcolor=
"#ffc8d8">
97 <td colspan=
3 valign=bottom
> <br>
98 <font color=
"#000000" face=
"helvetica, arial"><a name=
"ChromeTracingStartedError">class
<strong>ChromeTracingStartedError
</strong></a>(
<a href=
"exceptions.html#Exception">exceptions.Exception
</a>)
</font></td></tr>
100 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
101 <td width=
"100%"><dl><dt>Method resolution order:
</dt>
102 <dd><a href=
"telemetry.internal.platform.tracing_agent.chrome_tracing_agent.html#ChromeTracingStartedError">ChromeTracingStartedError
</a></dd>
103 <dd><a href=
"exceptions.html#Exception">exceptions.Exception
</a></dd>
104 <dd><a href=
"exceptions.html#BaseException">exceptions.BaseException
</a></dd>
105 <dd><a href=
"__builtin__.html#object">__builtin__.object
</a></dd>
108 Data descriptors defined here:
<br>
109 <dl><dt><strong>__weakref__
</strong></dt>
110 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
113 Methods inherited from
<a href=
"exceptions.html#Exception">exceptions.Exception
</a>:
<br>
114 <dl><dt><a name=
"ChromeTracingStartedError-__init__"><strong>__init__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#ChromeTracingStartedError-__init__">__init__
</a>(...)
initializes
x;
see
help(type(x))
for
signature
</tt></dd></dl>
117 Data and other attributes inherited from
<a href=
"exceptions.html#Exception">exceptions.Exception
</a>:
<br>
118 <dl><dt><strong>__new__
</strong> =
<built-in method __new__ of type object
><dd><tt>T.
<a href=
"#ChromeTracingStartedError-__new__">__new__
</a>(S,
...)
-
> a
new
object
with
type
S,
a
subtype
of
T
</tt></dl>
121 Methods inherited from
<a href=
"exceptions.html#BaseException">exceptions.BaseException
</a>:
<br>
122 <dl><dt><a name=
"ChromeTracingStartedError-__delattr__"><strong>__delattr__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#ChromeTracingStartedError-__delattr__">__delattr__
</a>('name')
<==
> del
x.name
</tt></dd></dl>
124 <dl><dt><a name=
"ChromeTracingStartedError-__getattribute__"><strong>__getattribute__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#ChromeTracingStartedError-__getattribute__">__getattribute__
</a>('name')
<==
> x.name
</tt></dd></dl>
126 <dl><dt><a name=
"ChromeTracingStartedError-__getitem__"><strong>__getitem__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#ChromeTracingStartedError-__getitem__">__getitem__
</a>(y)
<==
> x[y]
</tt></dd></dl>
128 <dl><dt><a name=
"ChromeTracingStartedError-__getslice__"><strong>__getslice__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#ChromeTracingStartedError-__getslice__">__getslice__
</a>(i,
j)
<==
> x[i:j]
<br>
130 Use
of
negative
indices
is
not
supported.
</tt></dd></dl>
132 <dl><dt><a name=
"ChromeTracingStartedError-__reduce__"><strong>__reduce__
</strong></a>(...)
</dt></dl>
134 <dl><dt><a name=
"ChromeTracingStartedError-__repr__"><strong>__repr__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#ChromeTracingStartedError-__repr__">__repr__
</a>()
<==
> repr(x)
</tt></dd></dl>
136 <dl><dt><a name=
"ChromeTracingStartedError-__setattr__"><strong>__setattr__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#ChromeTracingStartedError-__setattr__">__setattr__
</a>('name',
value)
<==
> x.name
=
value
</tt></dd></dl>
138 <dl><dt><a name=
"ChromeTracingStartedError-__setstate__"><strong>__setstate__
</strong></a>(...)
</dt></dl>
140 <dl><dt><a name=
"ChromeTracingStartedError-__str__"><strong>__str__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#ChromeTracingStartedError-__str__">__str__
</a>()
<==
> str(x)
</tt></dd></dl>
142 <dl><dt><a name=
"ChromeTracingStartedError-__unicode__"><strong>__unicode__
</strong></a>(...)
</dt></dl>
145 Data descriptors inherited from
<a href=
"exceptions.html#BaseException">exceptions.BaseException
</a>:
<br>
146 <dl><dt><strong>__dict__
</strong></dt>
148 <dl><dt><strong>args
</strong></dt>
150 <dl><dt><strong>message
</strong></dt>
152 </td></tr></table> <p>
153 <table width=
"100%" cellspacing=
0 cellpadding=
2 border=
0 summary=
"section">
154 <tr bgcolor=
"#ffc8d8">
155 <td colspan=
3 valign=bottom
> <br>
156 <font color=
"#000000" face=
"helvetica, arial"><a name=
"ChromeTracingStoppedError">class
<strong>ChromeTracingStoppedError
</strong></a>(
<a href=
"exceptions.html#Exception">exceptions.Exception
</a>)
</font></td></tr>
158 <tr><td bgcolor=
"#ffc8d8"><tt> </tt></td><td> </td>
159 <td width=
"100%"><dl><dt>Method resolution order:
</dt>
160 <dd><a href=
"telemetry.internal.platform.tracing_agent.chrome_tracing_agent.html#ChromeTracingStoppedError">ChromeTracingStoppedError
</a></dd>
161 <dd><a href=
"exceptions.html#Exception">exceptions.Exception
</a></dd>
162 <dd><a href=
"exceptions.html#BaseException">exceptions.BaseException
</a></dd>
163 <dd><a href=
"__builtin__.html#object">__builtin__.object
</a></dd>
166 Data descriptors defined here:
<br>
167 <dl><dt><strong>__weakref__
</strong></dt>
168 <dd><tt>list
of
weak
references
to
the
object
(if
defined)
</tt></dd>
171 Methods inherited from
<a href=
"exceptions.html#Exception">exceptions.Exception
</a>:
<br>
172 <dl><dt><a name=
"ChromeTracingStoppedError-__init__"><strong>__init__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#ChromeTracingStoppedError-__init__">__init__
</a>(...)
initializes
x;
see
help(type(x))
for
signature
</tt></dd></dl>
175 Data and other attributes inherited from
<a href=
"exceptions.html#Exception">exceptions.Exception
</a>:
<br>
176 <dl><dt><strong>__new__
</strong> =
<built-in method __new__ of type object
><dd><tt>T.
<a href=
"#ChromeTracingStoppedError-__new__">__new__
</a>(S,
...)
-
> a
new
object
with
type
S,
a
subtype
of
T
</tt></dl>
179 Methods inherited from
<a href=
"exceptions.html#BaseException">exceptions.BaseException
</a>:
<br>
180 <dl><dt><a name=
"ChromeTracingStoppedError-__delattr__"><strong>__delattr__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#ChromeTracingStoppedError-__delattr__">__delattr__
</a>('name')
<==
> del
x.name
</tt></dd></dl>
182 <dl><dt><a name=
"ChromeTracingStoppedError-__getattribute__"><strong>__getattribute__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#ChromeTracingStoppedError-__getattribute__">__getattribute__
</a>('name')
<==
> x.name
</tt></dd></dl>
184 <dl><dt><a name=
"ChromeTracingStoppedError-__getitem__"><strong>__getitem__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#ChromeTracingStoppedError-__getitem__">__getitem__
</a>(y)
<==
> x[y]
</tt></dd></dl>
186 <dl><dt><a name=
"ChromeTracingStoppedError-__getslice__"><strong>__getslice__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#ChromeTracingStoppedError-__getslice__">__getslice__
</a>(i,
j)
<==
> x[i:j]
<br>
188 Use
of
negative
indices
is
not
supported.
</tt></dd></dl>
190 <dl><dt><a name=
"ChromeTracingStoppedError-__reduce__"><strong>__reduce__
</strong></a>(...)
</dt></dl>
192 <dl><dt><a name=
"ChromeTracingStoppedError-__repr__"><strong>__repr__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#ChromeTracingStoppedError-__repr__">__repr__
</a>()
<==
> repr(x)
</tt></dd></dl>
194 <dl><dt><a name=
"ChromeTracingStoppedError-__setattr__"><strong>__setattr__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#ChromeTracingStoppedError-__setattr__">__setattr__
</a>('name',
value)
<==
> x.name
=
value
</tt></dd></dl>
196 <dl><dt><a name=
"ChromeTracingStoppedError-__setstate__"><strong>__setstate__
</strong></a>(...)
</dt></dl>
198 <dl><dt><a name=
"ChromeTracingStoppedError-__str__"><strong>__str__
</strong></a>(...)
</dt><dd><tt>x.
<a href=
"#ChromeTracingStoppedError-__str__">__str__
</a>()
<==
> str(x)
</tt></dd></dl>
200 <dl><dt><a name=
"ChromeTracingStoppedError-__unicode__"><strong>__unicode__
</strong></a>(...)
</dt></dl>
203 Data descriptors inherited from
<a href=
"exceptions.html#BaseException">exceptions.BaseException
</a>:
<br>
204 <dl><dt><strong>__dict__
</strong></dt>
206 <dl><dt><strong>args
</strong></dt>
208 <dl><dt><strong>message
</strong></dt>
210 </td></tr></table></td></tr></table>