telemetry.timeline.tracing_category_filter | index telemetry/timeline/tracing_category_filter.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.`

Modules
`` |  |
re |  |  |

Classes
`` |  | __builtin__.object TracingCategoryFilter
class TracingCategoryFilter(__builtin__.object)
`` | `A set of included and excluded categories that should be traced. The TraceCategoryFilter allows fine tuning of what data is traced. Basic choice of which tracers to use is done by TracingOptions. Providing filter_string=None gives the default category filter, which leaves what to trace up to the individual trace systems.`
| Methods defined here: AddExcludedCategory(self, category_glob) `Explicitly disables anything matching category_glob.` AddIncludedCategory(self, category_glob) `Explicitly enables anything matching category_glob.` AddSyntheticDelay(self, delay) GetDictForChromeTracing(self) IsSubset(self, other) `Determine if filter A (self) is a subset of filter B (other). Returns True if A is a subset of B, False if A is not a subset of B, and None if we can't tell for sure.` __init__(self, filter_string=None) Data descriptors defined here: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)` disabled_by_default_categories excluded_categories filter_string included_categories stable_filter_string synthetic_delays

Functions
`` |  | CreateDebugOverheadFilter() `Returns a filter with as many traces enabled as is useful.` CreateMinimalOverheadFilter() `Returns a filter with the best-effort amount of overhead.` CreateNoOverheadFilter() `Returns a filter with the least overhead possible. This contains no sub-traces of thread tasks, so it's only useful for capturing the cpu-time spent on threads (as well as needed benchmark traces). FIXME: Remove webkit.console when blink.console lands in chromium and the ref builds are updated. crbug.com/386847`