telemetry.timeline.tracing_options | index telemetry/timeline/tracing_options.py

`# Copyright 2014 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.`

Classes
`` |  | __builtin__.object TracingOptions
class TracingOptions(__builtin__.object)
`` | `Tracing options control which core tracing systems should be enabled. This simply turns on those systems. If those systems have additional options, e.g. what to trace, then they are typically configured by adding categories to the TracingCategoryFilter. Options: enable_chrome_trace: a boolean that specifies whether to enable chrome tracing. enable_platform_display_trace: a boolean that specifies whether to platform display tracing. enable_android_graphics_memtrack: a boolean that specifies whether to enable the memtrack_helper daemon to track graphics memory on Android (see goo.gl/4Y30p9). Doesn't have any effects on other OSs. The following ones are specific to chrome tracing. See base/trace_event/trace_config.h for more information. record_mode: can be any mode in RECORD_MODES. This corresponds to record modes in chrome. enable_systrace: a boolean that specifies whether to enable systrace.`
| Methods defined here: GetDictForChromeTracing(self) GetTraceOptionsStringForChromeDevtool(self) `Map Chrome tracing options in Telemetry to the DevTools API string.` __init__(self) Data descriptors defined here: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` enable_systrace record_mode

Data
`` |  | ECHO_TO_CONSOLE = 'trace-to-console' ENABLE_SYSTRACE = 'enable-systrace' RECORD_AS_MUCH_AS_POSSIBLE = 'record-as-much-as-possible' RECORD_CONTINUOUSLY = 'record-continuously' RECORD_MODES = ['record-until-full', 'record-continuously', 'record-as-much-as-possible', 'trace-to-console'] RECORD_UNTIL_FULL = 'record-until-full'