Update sdk/platform-tools to version 26.0.0.
[android_tools.git] / sdk / platform-tools / systrace / catapult / telemetry / telemetry / timeline / atrace_config.py
blob4956009fe87d3542219602ba0dfe74aed02dbd8e
1 # Copyright 2016 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.
5 from systrace.tracing_agents import atrace_agent
7 class AtraceConfig(object):
8 """Stores configuration options specific to Atrace.
10 categories: List that specifies the Atrace categories to trace.
11 Example: ['sched', 'webview']
12 app_name: String or list that specifies the application name (or names)
13 on which to run application level tracing.
14 Example: 'org.chromium.webview_shell'
15 """
16 def __init__(self):
17 self.categories = atrace_agent.DEFAULT_CATEGORIES
18 self.app_name = None